From d88a6978cdf272b5887607d074e02a7e35f7423d Mon Sep 17 00:00:00 2001 From: OniriCorpe Date: Wed, 22 May 2024 23:00:23 +0200 Subject: [PATCH] remove useless ynh ssowat thing --- conf/nginx.conf | 15 ++++++--------- 1 file changed, 6 insertions(+), 9 deletions(-) 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; }