Page MenuHomePhabricator

Module uwsgi doesn't allow passing multiple config params of same name
Open, MediumPublic

Description

The uwsgi module complains if you supply multiple params of the same name
If you have two rules like:
route-if => 'equal:${PATH_INFO};/static/public addheader:Access-Control-Allow-Origin: *',
route-if => 'equal:${HTTP_X_FORWARDED_PROTO};http redirect-permanent:https://${HTTP_HOST}${REQUEST_URI}'

It says, - ERROR duplicate parameter found in resource (duplicate_params).

This is legal for the uwsgi config, but our puppet module doesn't allow it.