1
0
Fork 0
forked from exozyme/nginx

Finally get ta180m 404 to work without redirect

This commit is contained in:
Anthony Wang 2021-10-14 22:01:28 -05:00
parent 86bea2bf06
commit 0a138d08fc
Signed by untrusted user: a
GPG key ID: BC96B00AEC5F2D76

View file

@ -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;
}