summaryrefslogtreecommitdiff
path: root/http
diff options
context:
space:
mode:
Diffstat (limited to 'http')
-rw-r--r--http/nginx.conf2
1 files changed, 1 insertions, 1 deletions
diff --git a/http/nginx.conf b/http/nginx.conf
index 4836efd..c788f22 100644
--- a/http/nginx.conf
+++ b/http/nginx.conf
@@ -27,7 +27,7 @@ http {
location / {
root /usr/share/nginx/html;
- try_files $uri $uri.html $uri/index.html $uri.php $uri/index.php;
+ try_files $uri $uri.html $uri/index.html $uri.php $uri/index.php =404;
}
error_page 404 /error.html;