NGINX environment variables via envsubst break things like $http_host · Issue #496 · docker-library/docs

When trying to use this as stated in the README command: /bin/bash -c "envsubst < /etc/nginx/conf.d/mysite.template > /etc/nginx/conf.d/default.conf && nginx -g 'daemon off;'" it also replaces stu...