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

nginx config for nats container #4650

Merged
merged 1 commit into from
Jan 23, 2023
Merged

nginx config for nats container #4650

merged 1 commit into from
Jan 23, 2023

Conversation

stereosteve
Copy link
Contributor

Description

add reverse proxy rule for nats container for sake of exchange and health check.

@@ -108,6 +108,13 @@ http {
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
}

location /nats {
resolver 127.0.0.11 valid=30s;
set $upstream nats:8924;
Copy link
Contributor

Choose a reason for hiding this comment

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

isn't nats 8925?

Copy link
Contributor

@cheran-senthil cheran-senthil left a comment

Choose a reason for hiding this comment

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

nice

@stereosteve
Copy link
Contributor Author

FYI @isaacsolo : split nats out into it's own container so that it doesn't have to restart for most deploys.
So:

  • 8924: nats
  • 8925: discovery (dms stuff)
  • 8926: storage

@stereosteve stereosteve merged commit b88fff2 into main Jan 23, 2023
@stereosteve stereosteve deleted the nats-exchange branch January 23, 2023 19:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants