forked from exozyme/nginx
Merge pull request 'Add 404 page' (#6) from iacore/nginx:patch-2 into main
Reviewed-on: exozyme/nginx#6
This commit is contained in:
commit
6e66d8d5cc
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