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