forked from exozyme/nginx
Use custom 404 page for ta180m site
This commit is contained in:
parent
92ca422133
commit
86bea2bf06
|
@ -9,6 +9,7 @@ server {
|
||||||
root /srv/http/ta180m/public;
|
root /srv/http/ta180m/public;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
|
||||||
|
error_page 404 404.html;
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue