NginxProxyManager / nginx-proxy-manager

Docker container for managing Nginx proxy hosts with a simple, powerful interface
https://nginxproxymanager.com
MIT License
22.03k stars 2.54k forks source link

How Custom Nginx Configuration for keepalive connection in the backend #2367

Open Kathou99 opened 1 year ago

Kathou99 commented 1 year ago

Hi, how I can to make this work?

upstream http_backend {
    server 127.0.0.1:8080;

    keepalive 16;
}

server {
    ...

    location /http/ {
        proxy_pass http://http_backend;
        proxy_http_version 1.1;
        proxy_set_header Connection "";
        ...
    }
}

More info here from nginx

More info from Nginx

Thank :)

github-actions[bot] commented 7 months ago

Issue is now considered stale. If you want to keep it open, please comment :+1:

uzemeltetes-doto commented 2 months ago

I'm interested too how could this be configured in NPM.