Skip to content

Request forwarded to wrong container with subdomains #340

Answered by Twois
Twois asked this question in Q&A
Discussion options

You must be logged in to vote

I solved it.

The problem was that both subdomain used the same services and the same external network. So the nginx-proxy-automation worked well, that forwarded the request to one of my website (well), but inside it there is an other nginx that also forwarded the request between frontend and backend. And the problem was with this, because the services names where the same, so my internal nginx service sometimes forwarded the request to subdomain1 sometimes subdomain2.

I hope this could help for others.

Replies: 2 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by Twois
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant