Description
If I run this on any other port - I've been using 1987 since that's the song's release year - I get a 500 error.
Works:
rickroll:
image: modem7/docker-rickroll
container_name: Rickroll
ports:
- 8080:8080
environment:
- TITLE="not-really-roll" # Changes the title of the webpage
- PORT=8080
Does not work:
rickroll:
image: modem7/docker-rickroll
container_name: Rickroll
ports:
- 1987:1987
environment:
- TITLE="not-really-roll" # Changes the title of the webpage
- PORT=1987
I've tried digging into this myself and have stumbled a lot. nginx errors don't seem to make it to the docker logs (maybe because /var/log/nginx is -> /dev/stderr ? maybe error level setting in nginx.conf ? ) but I suspect it has to do with the proxy setup, or maybe it's due to the nginx.conf file including configs from /etc/nginx/conf.d, which has a default.conf file which may be overriding / messing with the primary nginx.conf settings.
I may be able to do some further troubleshooting (if I manage to get a docker build environment up)... If I figure it out I'll send a PR.