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

Support for longer proxy timeout #129

Closed
marclennox opened this issue Feb 2, 2016 · 5 comments
Closed

Support for longer proxy timeout #129

marclennox opened this issue Feb 2, 2016 · 5 comments

Comments

@marclennox
Copy link

I'm using dinghy a lot in development, and when running debug breaks, I need the proxy_read_timeout setting in nginx to be much larger than the default 60s, otherwise it times out while debugging.

I've figured out a hack to exec into the proxy container and edit the nginx template, but it would be great to have this as an option.

I see from the nginx-proxy project that it supports custom nginx configuration, is this exposed through dinghy in any way that I can achieve this without the hack?

@codekitchen
Copy link
Owner

There's not a great way for you to do that locally only for your machine right now, though that'd be nice to add. I'm OK with just adding that config to the proxy container if you want to send over a PR: https://github.com/codekitchen/dinghy-http-proxy/blob/master/dinghy.nginx.conf

@marclennox
Copy link
Author

Thanks, I submitted a PR with the fix, which I've also successfully tested locally.

@codekitchen
Copy link
Owner

Cool thanks @marclennox -- I don't see the PR though, are you sure you sent it over?

@marclennox
Copy link
Author

Sorry about that, I messed up the PR. Here it is codekitchen/dinghy-http-proxy#1

@codekitchen
Copy link
Owner

Thanks this is published. You may have to manually run docker pull codekitchen/dinghy-http-proxy to get the change.

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

2 participants