Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

best practice to add a stream config? #953

Open
udos opened this issue Dec 19, 2024 · 0 comments
Open

best practice to add a stream config? #953

udos opened this issue Dec 19, 2024 · 0 comments

Comments

@udos
Copy link

udos commented Dec 19, 2024

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...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant