Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Incorrect NGINX redirect when accessing remotely, even after entering IP address during start_yang_suite.sh #106

Open
matgayno opened this issue Feb 13, 2024 · 0 comments

Comments

@matgayno
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant