Skip to content

SSH port 22 nginx stream proxy setting possible on this image? #1009

@mcdoyaji

Description

@mcdoyaji

I know ther are many closed issues like #823, #759, #289.

But, I found It's possible ngx_stream_proxy_module.

especiaaly below.

stream {
    upstream ssh {
        server 192.168.1.12:22;
    }
        server {
        listen        12345;
        proxy_pass    ssh;
    }
}

how could I apply that on current installd nginx-proxy image?

heres stackoverflow
https://stackoverflow.com/questions/31324981/how-to-access-host-port-from-docker-container
heres nginx stream proxy module
http://nginx.org/en/docs/stream/ngx_stream_proxy_module.html

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