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

Fastcgi Params #389

Closed
chaosmail opened this issue Jul 31, 2014 · 1 comment
Closed

Fastcgi Params #389

chaosmail opened this issue Jul 31, 2014 · 1 comment

Comments

@chaosmail
Copy link
Contributor

I wonder if there is an easy way to config fastcgi_params? I am thinking of something like

nginx::resource::location { "root":
    ...
    ensure          => present,
    fastcgi         => "127.0.0.1:9000",
    fastcgi_params  => {
        'APP_ENV' => 'local'
    },
}

Thanks for your help!

@3flex
Copy link
Contributor

3flex commented Aug 5, 2014

That's not possible right now, the fastcgi_params parameter is used to set the location of a file that contains fastcgi_params.

This would be a useful enhancement though so I'm sure a PR would be appreciated.

cegeka-jenkins pushed a commit to cegeka/puppet-nginx that referenced this issue Oct 23, 2017
Added configuration of custom fastcgi_params [fixes voxpupuli#389]
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