diff --git a/conf/nginx.conf b/conf/nginx.conf index 1876b1e..6e9bf0d 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,16 +1,13 @@ #sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; location __PATH__/ { - proxy_set_header Host $host; - proxy_set_header X-Real-IP $remote_addr; - proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header X-Forwarded-Proto $scheme; - proxy_pass http://unix:__INSTALL_DIR__/sock; - - # Include SSOWAT user panel. - include conf.d/yunohost_panel.conf.inc; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + proxy_pass http://unix:__INSTALL_DIR__/sock; } location __PATH__/css/ { - alias __INSTALL_DIR__/assets/css; + alias __INSTALL_DIR__/assets/css; }