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

Error 400 on SERVER: Invalid parameter worker_connections #57

Open
sambanks opened this issue Apr 16, 2014 · 2 comments
Open

Error 400 on SERVER: Invalid parameter worker_connections #57

sambanks opened this issue Apr 16, 2014 · 2 comments

Comments

@sambanks
Copy link

Hi There

When I call nginx like so:

class { "nginx":
worker_connections => 4096,
keepalive_timeout => 30s,
client_max_body_size => 40M,
}

I get

Error 400 on SERVER: Invalid parameter worker_connections

It was working previously. Any idea what would be going on here?

Thanks
Sam

@xakrume
Copy link

xakrume commented Apr 16, 2014

Not correct use directive in configuration
Need put in section events:

events {
worker_connections 2048;
use kqueue; # i have BSD :)
}

@sambanks
Copy link
Author

That example is taken directly from the readme. If I do:

class { "nginx":
template => 'nginx/conf.d/magento_nginx.conf.erb',
}

I get Invalid parameter template

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