Set error optionnal
This commit is contained in:
parent
c9c0ab84be
commit
f892c8b788
|
@ -1,3 +1,4 @@
|
|||
{% if errorpage is defined and errorpage is False %}
|
||||
error_page 401 /401.html;
|
||||
location = /401.html {
|
||||
root /var/www/html/errors/;
|
||||
|
@ -19,3 +20,4 @@
|
|||
root /var/www/html/errors/;
|
||||
internal;
|
||||
}
|
||||
{% endif %}
|
||||
|
|
Loading…
Reference in New Issue