You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
as the configuration file is set now, it is impossible to http add headers because the hardcoded location directives precede the customization part. I propose to put the custom environment variable $CUSTOM_SERVER_CONFIGbefore the location sections.
The text was updated successfully, but these errors were encountered:
Could you give an example of an override you'd want to do, and where in the resulting nginx config file it would need to be? You can see the file that gets generated by running:
docker run -rm IMAGE_NAME cat /etc/nginx/mushed.conf
One serious limitation here is that nginx won't let you duplicate a setting in a block; it will quit with an error rather than start. So overrides may not be possible doing what we're doing nginx-boot.sh script that we're using to handle the customizations. But if I know what you're trying to do, we can figure out if this is the way to do it.
as the configuration file is set now, it is impossible to http add headers because the hardcoded location directives precede the customization part. I propose to put the custom environment variable
$CUSTOM_SERVER_CONFIG
before the location sections.The text was updated successfully, but these errors were encountered: