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

Nginx::Resource::Server: has no parameter named 'proxy_send_timeout' #1186

Closed
vkurguzov1pt opened this issue Mar 5, 2018 · 1 comment
Closed

Comments

@vkurguzov1pt
Copy link

vkurguzov1pt commented Mar 5, 2018

Hello,
using 'proxy_send_timeout' option in nginx::resource::server, I receive the error
Error while evaluating a Resource Statement, Nginx::Resource::Server[example.com]: has no parameter named 'proxy_send_timeout'

puppet --version
5.4.0
---------------
ruby -v
ruby 2.4.3p205 (2017-12-14 revision 61247) [x86_64-linux]
---------------
cat /etc/centos-release
CentOS Linux release 7.3.1611 (Core)
---------------
puppet module list | grep nginx
├── puppet-nginx (v0.10.0)

class profile::configure_nginx (String $role=undef) {
  class {'nginx':
    manage_repo    => true,
    package_source => 'nginx-stable',
  }

  nginx::resource::upstream {'example_balancer_service':
    members => ['unix:/opt/apps/report1/client_api/current/sockets/unicorn_rep.sock'],
    upstream_fail_timeout => 0, 
  }

  nginx::resource::server {'example.com':  
    ensure       => present,
    listen_port  => 8621,
    proxy        => 'http://example_balancer_service',
    proxy_connect_timeout => '1200',
    proxy_read_timeout    => '1200',
    proxy_send_timeout    => '1200',
  }
}

@baurmatt
Copy link
Contributor

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