From d88a52a93132efa62e3630445cfc0259d5fca9fa Mon Sep 17 00:00:00 2001 From: Tobias Ollive Date: Wed, 7 Apr 2021 10:15:25 +0200 Subject: [PATCH] change nginx name --- conf/nginx.conf | 2 +- scripts/install | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/conf/nginx.conf b/conf/nginx.conf index 57fffa5..68bc6c2 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -1,5 +1,5 @@ location / { - proxy_pass http://localhost:__PORT__/; + proxy_pass http://localhost:__PORT_HTTP__/; proxy_set_header Host $host; proxy_buffering off; } diff --git a/scripts/install b/scripts/install index 08f77f5..5768dab 100644 --- a/scripts/install +++ b/scripts/install @@ -83,7 +83,7 @@ ynh_setup_source --dest_dir="$final_path" ynh_script_progression --message="Configuring nginx web server..." # Create a dedicated nginx config -ynh_add_nginx_config +ynh_add_nginx_config http_port #================================================= # CREATE DEDICATED USER