Skip to content

fix: nginx reverse proxy example #139

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion nginx/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ http {
ssl_session_cache shared:SSL:50m;
ssl_prefer_server_ciphers on;
location / {
proxy_pass http://node_servers;
proxy_pass http://$node_servers;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm not sure this is right. Our NGINX configs use the syntax without the $ and it all works fine. There seems to be some differences in how proxy_pass works with and without variables too. I'm having trouble finding anything definitive here, though.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ah I see if things are working fine no need to make the change then.

IIRC I was setting up a reverse proxy locally on Linux and used this as a guide to get it setup. Things were not working properly for me at the time until I put the $ in for the variable. That is what prompted me to open this PR.

}
}
}
Expand Down