Update nginx.conf
Browse files- 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 |
}
|