Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

7
  • @manish Do you always need to configure nginx.conf to let nodejs and nginx work together? Commented Jan 19, 2016 at 12:03
  • PS: I am also kind of beginner in docker and nginx, so some information might be wrong.. Also, I found the following to be very helpful: anandmanisankar.com/posts/… Commented Jan 19, 2016 at 13:35
  • I saw that post too. I tried your proposal and I have the same issue as explained at the answer under yours. ( I don't know what I have to write here: location / ). The api is running at url:8888/api Commented Jan 19, 2016 at 14:21
  • 1
    @Jenson I'm also nginx newbie, but I think you can set alias to the angular files in the nginx configuration file and then use that path in the node app. See stackoverflow.com/a/29384842/3785351 So, you will also need to link nginx to node container. Commented Jan 19, 2016 at 14:43
  • I've edited my nginx.conf but still not working (see question) Commented Jan 19, 2016 at 14:52