summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nginx/server.conf4
1 files changed, 4 insertions, 0 deletions
diff --git a/nginx/server.conf b/nginx/server.conf
index 19fac076..1d725572 100644
--- a/nginx/server.conf
+++ b/nginx/server.conf
@@ -67,6 +67,10 @@ server {
default_type text/plain;
}
+ location = /404 {
+ internal;
+ }
+
location = /404.html {
internal;
}