Best practice on FastCGI configuration to avoid ambiguous FCGI_PARAMS keys

Christoph Schug chris+nginx at schug.net
Thu Aug 2 15:57:21 UTC 2012


On 2012-08-02 12:01, Maxim Dounin wrote:
[...]
> I tend to think that it's more or less clarified here:
>
> http://www.fastcgi.com/om_archive/kit/doc/fcgi-spec.html#S6.2
>
> As params are expected to represent "CGI/1.1 environment
> variables", keys should be unique.

I somehow missed that part, thanks for the hint.

[...]
> I'm don't think we want to require uniqueness here, but probably a
> warning on duplicate fastcgi_params would be a way to go.

Yup, that would definitively be step forward.

Thanks
-cs



More information about the nginx mailing list