This commit is contained in:
+2
-2
@@ -7,10 +7,10 @@ server {
|
||||
location / {
|
||||
root /usr/share/nginx/html;
|
||||
index index.html;
|
||||
try_files $uri $uri/ /index.html;
|
||||
try_files $uri $uri/ /index.html =404;
|
||||
}
|
||||
|
||||
# error_page 404 /usr/share/nginx/html/404.html;
|
||||
error_page 404 /usr/share/nginx/html/404.html;
|
||||
|
||||
# redirect server error pages to the static page /50x.html
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user