mirror of
https://github.com/YunoHost-Apps/mobilizon_ynh.git
synced 2024-09-03 19:46:19 +02:00
[emerg] named location "@error" can be on the server level only
This commit is contained in:
parent
19d5355d68
commit
300150aa0c
1 changed files with 5 additions and 4 deletions
|
@ -41,11 +41,12 @@ location / {
|
|||
}
|
||||
|
||||
error_page 500 501 502 503 504 @error;
|
||||
location @error {
|
||||
root __FINALPATH__/mobilizon/priv/errors;
|
||||
try_files /error.html 502;
|
||||
}
|
||||
|
||||
# Include SSOWAT user panel.
|
||||
include conf.d/yunohost_panel.conf.inc;
|
||||
}
|
||||
|
||||
location @error {
|
||||
root __FINALPATH__/mobilizon/priv/errors;
|
||||
try_files /error.html 502;
|
||||
}
|
Loading…
Add table
Reference in a new issue