diff --git a/ta180m.conf b/ta180m.conf index 258f4ea..4b5fcb8 100644 --- a/ta180m.conf +++ b/ta180m.conf @@ -9,7 +9,11 @@ server { root /srv/http/ta180m/public; index index.html; - error_page 404 404.html; + error_page 404 /404.html; + location = /404.html { + internal; + } + location / { try_files $uri $uri/ =404; }