diff --git a/conf/nginx.conf b/conf/nginx.conf index 6fd7dbf..78e365b 100644 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -8,7 +8,7 @@ location __PATH__/ { if ($scheme = http) { rewrite ^ https://$server_name$request_uri? permanent; } - proxy_pass http://127.0.0.1:__PORT__/; + proxy_pass http://127.0.0.1:8000/; proxy_set_header Host $host; proxy_buffering off; diff --git a/scripts/install b/scripts/install index 049b190..fb2c48c 100644 --- a/scripts/install +++ b/scripts/install @@ -181,8 +181,8 @@ npm install typescript@>=2.0 --save npm install ts-node popd -cp ../conf/package.json "$final_path/package.json" -ynh_replace_string "__PORT__" "$port" "$final_path/package.json" +#cp ../conf/package.json "$final_path/package.json" +#ynh_replace_string "__PORT__" "$port" "$final_path/package.json" #npm audit fix #npm install -g npm-install-peers @@ -257,7 +257,7 @@ ynh_add_systemd_config ### you can make a backup of this file before modifying it again if the admin had modified it. # Calculate and store the config file checksum into the app settings -ynh_store_file_checksum "$final_path/package.json" +#ynh_store_file_checksum "$final_path/package.json" #================================================= # GENERIC FINALIZATION