Skip to content

NGINX environment variables via envsubst break things like $http_host #496

@pkyeck

Description

@pkyeck

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 stuff like this

proxy_set_header Host $http_host;

to look like this

proxy_set_header Host ;

any way to fix this? work around it?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions