wIK5Ez2o commited on
Commit
6b2bfc1
·
verified ·
1 Parent(s): e7fcafc

Update nginx.conf

Browse files
Files changed (1) hide show
  1. nginx.conf +2 -2
nginx.conf CHANGED
@@ -2,10 +2,10 @@ server {
2
  listen 7860 default_server;
3
 
4
  server_name _;
5
- root usr/share/nginx/html;
6
 
7
  location / {
8
- root usr/share/nginx/html;
9
  index index.html index.htm;
 
10
  }
11
  }
 
2
  listen 7860 default_server;
3
 
4
  server_name _;
5
+ root /usr/share/nginx/html;
6
 
7
  location / {
 
8
  index index.html index.htm;
9
+ try_files $uri $uri/ =404;
10
  }
11
  }