diff --git a/conf/nginx.conf b/conf/nginx.conf index a904430..5f808e0 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -22,8 +22,8 @@ location ^~ /packs/ { location @puma { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; - proxy_set_header Host $http_host; + proxy_set_header Host $host; proxy_set_header X-Forwarded-Proto $scheme; proxy_redirect off; proxy_pass http://localhost:__PORT__; -} +} diff --git a/doc/DISCLAIMER.md b/doc/DISCLAIMER.md deleted file mode 100644 index e69de29..0000000 diff --git a/manifest.toml b/manifest.toml index 13a13c5..941ff31 100644 --- a/manifest.toml +++ b/manifest.toml @@ -6,7 +6,7 @@ id = "fab-manager" name = "Fab-manager" description.en = "Fab Lab management solution." -version = "5.6.5~ynh1" +version = "5.6.5~ynh2" maintainers = [] diff --git a/scripts/change_url b/scripts/change_url index a9f972f..10e2ede 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -13,8 +13,8 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Stopping a systemd service..." --weight=1 -ynh_systemd_action --service_name="${app}-app" --action="stop" --log_path=systemd --line_match="Stopped" -ynh_systemd_action --service_name="${app}-worker" --action="stop" --log_path=systemd --line_match="Stopped" +ynh_systemd_action --service_name="${app}-app" --action="stop" --log_path=systemd +ynh_systemd_action --service_name="${app}-worker" --action="stop" --log_path=systemd #================================================= # MODIFY URL IN NGINX CONF diff --git a/scripts/upgrade b/scripts/upgrade index 9c74be2..225e415 100644 --- a/scripts/upgrade +++ b/scripts/upgrade @@ -14,8 +14,8 @@ source /usr/share/yunohost/helpers #================================================= ynh_script_progression --message="Stopping $app's systemd service..." --weight=1 -ynh_systemd_action --service_name="${app}-app" --action="stop" --log_path=systemd --line_match="Stopped" -ynh_systemd_action --service_name="${app}-worker" --action="stop" --log_path=systemd --line_match="Stopped" +ynh_systemd_action --service_name="${app}-app" --action="stop" --log_path=systemd +ynh_systemd_action --service_name="${app}-worker" --action="stop" --log_path=systemd #================================================= # ENSURE DOWNWARD COMPATIBILITY