Skip to content

Is this only for static file servers? #14

Open
@adam-beck

Description

@adam-beck

I may be using this Dockerfile/container incorrectly but I have not yet been able to use it as a proxy for a very simple ExpressJS application that I have running.

Does this Dockerfile only serve static content that is provided by the mounted volume? I receive 502 errors when trying to use the proxy_pass directive. I'm not sure I quite understand how Docker contains ports but I can obviously access port 80 from outside the container. I guess a better question would be: is the container able to access my node server I have running on my localhost port 3000 (which is not part of the container)? Is there some configuration or is this just simply not possible?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions