diff --git a/conf/nginx.conf b/conf/nginx.conf index 8a76cee..cff60cc 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -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; +} \ No newline at end of file