Skip to content

best practice to add a stream config? #953

Open
@udos

Description

hi,

I would like to add a stream config similiar to this:

stream {
    server {
      listen 1234;
    
      proxy_connect_timeout 60s;
      proxy_socket_keepalive on;
      proxy_pass localhost:5432;
    }
}

how can I do this?

note: I can not add it to /etc/nginx/conf.d because that is the include directory for http configs...

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