Open
Description
Current Behavior
We customize our default.conf file for ssl termination and various other reasons. 4.9.1 should not attempt to rewrite the file. Our configuration is controlled by puppet and we don't want the container making changes.
Steps to Reproduce
- docker-compose.yml contains
volumes:
- /opt/nginx/conf.d/:/etc/nginx/conf.d/
- docker pull newest dtrack-frontend
- docker-compose up
- 502 Bad gateway to frontend
dtrack-frontend_1 | /docker-entrypoint.sh: Launching /docker-entrypoint.d/10-listen-on-ipv6-by-default.sh
dtrack-frontend_1 | sed: can't create temp file '/etc/nginx/conf.d/default.confXXXXXX': Permission denied
opt_dtrack-frontend_1 exited with code 1
Expected Behavior
Don't try to rewrite our default.conf
Do not check whether the default configuration file has been changed vs
what is packaged with the distribution's installation. We customized the
file and want the changes the applied regardless.
No I don't, please restore this check or fail on the rewrite more gracefully
https://github.com/nginxinc/docker-nginx-unprivileged/blob/1.25.2/entrypoint/10-listen-on-ipv6-by-default.sh
was wise to allow users to control this.
Dependency-Track Frontend Version
4.9.1
Browser
Google Chrome
Browser Version
No response
Operating System
Linux
Checklist
- I have read and understand the contributing guidelines
- I have checked the existing issues for whether this defect was already reported