From f8bc5e34a446804c7f1d68ee3d7acb18c40c54ae Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 3 Feb 2022 18:58:38 +0100 Subject: [PATCH] Fix --- conf/nginx.conf | 2 +- scripts/install | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 2424f64..f4bb9b0 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -5,7 +5,7 @@ location __PATH__/ { proxy_set_header X-Real-IP $remote_addr; proxy_set_header x-forwarded-for $remote_addr; - proxy_pass http://127.0.0.1:__PORT__; + proxy_pass http://127.0.0.1:__PORT__/kiwi/; proxy_redirect default; # Websocket support (from version 1.4) diff --git a/scripts/install b/scripts/install index 4ffd8e5..f06dd46 100644 --- a/scripts/install +++ b/scripts/install @@ -100,10 +100,10 @@ ynh_exec_warn_less dpkg -i $tempdir/kiwiirc_20.05.24.1-1_amd64.deb #================================================= # NGINX CONFIGURATION #================================================= -# ynh_script_progression --message="Configuring NGINX web server..." --weight=2 +ynh_script_progression --message="Configuring NGINX web server..." --weight=2 -# # Create a dedicated NGINX config -# ynh_add_nginx_config +# Create a dedicated NGINX config +ynh_add_nginx_config #================================================= # SETUP SYSTEMD