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

Proxy.conf #28

Open
AndreSteenbergen opened this issue Jul 5, 2017 · 0 comments
Open

Proxy.conf #28

AndreSteenbergen opened this issue Jul 5, 2017 · 0 comments

Comments

@AndreSteenbergen
Copy link

Would be nice to be able to volume mount proxy.conf, without needing to mount the entire /etc/nginx folder.

One of my upstreams gave this error: "upstream sent too big header while reading response header from upstream". So I wanted to add

proxy_buffer_size 128k;
proxy_buffers 4 256k;
proxy_busy_buffers_size 256k;

I changed the nginx.tmpl at this moment. I would have liked to be able to mount a directory with just that file. Standard installation volume mounts these mounts:

/data/rancher-active-proxy/vhost.d:/etc/nginx/vhost.d
/data/rancher-active-proxy/htpasswd:/etc/nginx/htpasswd
/data/rancher-active-proxy/letsencrypt:/etc/letsencrypt

it would be a simple change to alter the location where nginx,tmpl loads the conf file from.

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