From 0dc00083775676c6a43207200e09a05f037bda19 Mon Sep 17 00:00:00 2001 From: ericgaspar Date: Thu, 26 Nov 2020 11:32:52 +0100 Subject: [PATCH] fix --- conf/nginx.conf | 4 ++-- scripts/change_url | 2 +- scripts/remove | 1 + scripts/restore | 2 +- 4 files changed, 5 insertions(+), 4 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index ba502fb..13a4178 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,9 +1,9 @@ - location / { +location / { proxy_pass http://127.0.0.1:__PORT__; proxy_http_version 1.1; proxy_set_header Upgrade $http_upgrade; proxy_set_header Connection "upgrade"; proxy_set_header Host $host; - } \ No newline at end of file +} \ No newline at end of file diff --git a/scripts/change_url b/scripts/change_url index a77b3bc..b612d37 100644 --- a/scripts/change_url +++ b/scripts/change_url @@ -126,4 +126,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Change of URL completed for $app" --time --last +ynh_script_progression --message="Change of URL completed for $app" diff --git a/scripts/remove b/scripts/remove index 077881b..e049e1b 100755 --- a/scripts/remove +++ b/scripts/remove @@ -51,6 +51,7 @@ ynh_script_progression --message="Removing dependencies..." # Remove metapackage and its dependencies pip3 uninstall -y msgpack-python gevent base58 merkletools rsa PySocks pyasn1 websocket_client gevent-ws coincurve maxminddb ynh_remove_app_dependencies + #================================================= # REMOVE APP MAIN DIR #================================================= diff --git a/scripts/restore b/scripts/restore index 3a12695..cb1f3c2 100755 --- a/scripts/restore +++ b/scripts/restore @@ -131,4 +131,4 @@ ynh_systemd_action --service_name=nginx --action=reload # END OF SCRIPT #================================================= -ynh_script_progression --message="Restoration completed for $app" \ No newline at end of file +ynh_script_progression --message="Restoration completed for $app"