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