question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

I followed the instruction but couldn’t get it to work. Says I have an existing app exposed to port 8080 on the host. I ran nginx-proxy and my app as followed:

docker run -d -p 80:80 -v /var/run/docker.sock:/tmp/docker.sock:ro jwilder/nginx-proxy
docker run -d -p 8080:8080  -e VIRTUAL_HOST=foo.bar.com  myapp

Now curl localhost:8080 works, and “foo.bar.com” is where I access my app from (AWS Route 53 to Load balancer). How do I get nginx-proxy to work in this case?

Issue Analytics

  • State:open
  • Created 6 years ago
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

8reactions
keponkcommented, May 8, 2018

@tomasinouk did you ever find the solution to this? I’m now running with this same issue. I’m sure there’s some config missing somewhere but can’t find any more references on the documentation

5reactions
tomasinoukcommented, Nov 12, 2017

@ka-sh I think, we are talking about two different things. Your suggestion does work, but that is not a problem as there is Host specified in the curl parameter. What I think does not work is, when the nginx-proxy is hit from internet on it’s port:80.

Problem is that the beta.example.com request should be redirected to app running upstream on node-red:1880. But every time I end up on 503 page of nginx-proxy container. Please see picture for better clarification. nginx-proxy-to-app

hope it makes sense

Read more comments on GitHub >

github_iconTop Results From Across the Web

It - Grammar - Cambridge Dictionary
We commonly use the pronoun it as both a subject and an object pronoun: Don't drink the milk. It smells terrible. Has anyone...
Read more >
How To Use The Pronoun IT - Happy English Podcast
IT is a pronoun that represents, things, objects, animals, plants…basically IT can be used to represent anything except people.
Read more >
Use of "It" - Scholarly Voice - Academic Guides at Walden ...
When using "it," avoid being vague or ambiguous by alternatively referring clearly to a specific noun in the sentence. Incorrect example: Even though...
Read more >
How to Use "It" in the English Grammar - LanGeek
It as a subject or object pronoun can be used to refer to a previously-mentioned thing, a baby, or a situation that has...
Read more >
How to Use Its and It's: 6 Steps (with Pictures) - wikiHow
1. Use "its" to indicate possession. When the pronoun is "it," the possessive form is "its." Like the possessive determiners "hers" and "his,"...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found