Change default 404 error page
This commit is contained in:
parent
d5e6d8710d
commit
7ca5c5a378
@ -1,4 +1,4 @@
|
||||
---
|
||||
path: /
|
||||
error_pages:
|
||||
404: /err.html
|
||||
404: /404.html
|
||||
|
@ -27,7 +27,7 @@
|
||||
proxy_pass https://storage_nemunaire/{{ bucket }}{{ path }}/;
|
||||
|
||||
{% for error_page in error_pages %}
|
||||
error_page {{ error_page }} /{{ error_pages[error_page] }};
|
||||
error_page {{ error_page }} {{ error_pages[error_page] }};
|
||||
{% endfor %}
|
||||
#try_files $uri $uri/index.html $uri.html =404;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user