-
-
Notifications
You must be signed in to change notification settings - Fork 883
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
fastcgi_params should not be creating non-standard files by default #682
Comments
Can you give me an example of what this looks like in your manifest? Likewise, any thoughts about how to model this better are most appreciated. |
I wanted to disable taking params from file and just pass a list of them in manifest (ceph's radosgw had a bug with default params and I had to turn few of them off) so I've set up fastcgi-params file to /dev/null, then nginx module chmodded that file and, well, a lot of apps are very unhappy if they can't access /dev/null.... IMO it should either:
|
This is now being tracked in #862; feel free to follow that if you want to see what ends up happening. |
As it is now, to have empty fastcgi_params file (if, for example, I want to completely manage it from manifest) requires explictly creating empty file, ensuring it is before every nginx invocation (which is error-prone) and then passing it as parameter.
Passing
/dev/null
as fastcgi_param just causes puppet to break/dev/null
permissionsPassing
false
(which should just mean "i dont want that parameter in my config") returns validation errorThe text was updated successfully, but these errors were encountered: