1
0
Fork 0
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:
yalh76 2020-10-15 03:21:30 +02:00
parent 19d5355d68
commit 300150aa0c

View file

@ -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;
}