You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
As per today, "configure_web_server.sh" just copies a fresh nginx,conf over the original.
This is ok as long as Nginx and CloundStation are the only purpose of that system (It will be a huge problem if there is another Nginx already running).
In my case there is an Apache2 already listening on port 80 so Nginx refuses to start.
I added listen 81 below the server_name statement and use http://servername:81 to launch CloudStation.
It would be good it the installer checks if port 80 is already in use and either stops or asks for an alternate port.
The text was updated successfully, but these errors were encountered:
Thanks for creating the first-ever CloudStation FR! This is definitely a valid concern. Could you guys evaluate this issue and see if you could update the script to handle it better? @ch-zha@lindzgarcia2@hjayyang94
I would suggest the first approach (give a warning and abort the deployment process if port 80 is occupied). In a production environment, it usually means there's an issue in the system if port 80 is occupied when we try to start the service. It could be that the previous version of the service hasn't been killed properly or something else. If these scripts depend on user input to specify another port, these won't work in a CD pipeline.
As per today, "configure_web_server.sh" just copies a fresh nginx,conf over the original.
This is ok as long as Nginx and CloundStation are the only purpose of that system (It will be a huge problem if there is another Nginx already running).
In my case there is an Apache2 already listening on port 80 so Nginx refuses to start.
I added
listen 81
below theserver_name
statement and usehttp://servername:81
to launch CloudStation.It would be good it the installer checks if port 80 is already in use and either stops or asks for an alternate port.
The text was updated successfully, but these errors were encountered: