The nginx site.conf file contains the following server block:
server { listen 80; server_name localhost; return 302 https://$server_name:8443; }
This is incorrect as nginx will send a 302 redirect instructing the client to go to localhost, when the Yang suite server is remote. The script needs to update the nginx configuration to include the FQDN/IP address inputted during the setup script execution.
The nginx site.conf file contains the following server block:
server { listen 80; server_name localhost; return 302 https://$server_name:8443; }
This is incorrect as nginx will send a 302 redirect instructing the client to go to localhost, when the Yang suite server is remote. The script needs to update the nginx configuration to include the FQDN/IP address inputted during the setup script execution.