Skip to content

Allow nginx parameters *after* proxy.conf include #5175

@ben-efros

Description

@ben-efros

Is your feature request related to a problem? Please describe.
In a proxy scenario, occasionally we need to rewrite HTTP headers explicitly. For example I may host "mySite.proxy.company.com" and I want it to forward to an internal site "mySite-internal.company.com" . The server at "mySite-internal.company.com" does not respond/allow the CN of "mysite.proxy.company.com" and so it needs to be manually changed.

adding a line like this to the site conf file after the include /etc/nginx/conf.d/include/proxy.conf; line would allow or this:

proxy_set_header Host myHostName.myDomain;

Currently the Custom Nginx Configuration dialog only allows for custom configurations before the include of proxy.conf. Please add support for site-specific includes after proxy.conf as well.

Great job on this project by the way!!!

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions