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_connect_timeout #324

Closed
adriaant opened this issue Jun 3, 2014 · 1 comment
Closed

proxy_connect_timeout #324

adriaant opened this issue Jun 3, 2014 · 1 comment

Comments

@adriaant
Copy link

adriaant commented Jun 3, 2014

What is the proper hiera config to override proxy_connect_timeout to a different value in a vhost?

@adriaant
Copy link
Author

adriaant commented Jun 5, 2014

Defaults now changable thanks to #326

To override per vhost, use for example:

nginx::nginx_locations:
  /:
    www_root: /vagrant/virtualenv-vagrant/var/
    try_files:
      - $uri @proxy
    vhost: foo_host
  @proxy:
    ensure: present
    proxy: 'http://foo_server'
    vhost: foo_host
    location_cfg_append:
      proxy_connect_timeout: 300
      proxy_read_timeout: 300

@adriaant adriaant closed this as completed Jun 5, 2014
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