forked from exozyme/nginx
Add 404 page
This commit is contained in:
parent
85af427d7e
commit
67c8eed118
1 changed files with 1 additions and 0 deletions
|
@ -8,6 +8,7 @@ server {
|
||||||
|
|
||||||
root /srv/http/pages/iacore;
|
root /srv/http/pages/iacore;
|
||||||
index index.html;
|
index index.html;
|
||||||
|
error_page 404 404.html;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
try_files $uri $uri.html $uri/ =404;
|
try_files $uri $uri.html $uri/ =404;
|
||||||
|
|
Loading…
Reference in a new issue