Loading CHANGELOG.md 0 → 100644 +9 −0 Original line number Diff line number Diff line # `nginx-sidecar` changelog ## 0.1.0 - Pass original request hostname to consuming application ## 0.0.1 - Initial version VERSION +1 −1 Original line number Diff line number Diff line 0.0.1 No newline at end of file 0.1.0 nginx.conf.template +4 −0 Original line number Diff line number Diff line Loading @@ -85,6 +85,10 @@ http { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; # Pass the original host name through, this is important if downstream # uses host based routing proxy_set_header Host $host; proxy_redirect off; # disable nginx redirect-rewrite logic proxy_pass http://app:<APP_PORT>; } Loading Loading
CHANGELOG.md 0 → 100644 +9 −0 Original line number Diff line number Diff line # `nginx-sidecar` changelog ## 0.1.0 - Pass original request hostname to consuming application ## 0.0.1 - Initial version
nginx.conf.template +4 −0 Original line number Diff line number Diff line Loading @@ -85,6 +85,10 @@ http { proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Real-IP $remote_addr; # Pass the original host name through, this is important if downstream # uses host based routing proxy_set_header Host $host; proxy_redirect off; # disable nginx redirect-rewrite logic proxy_pass http://app:<APP_PORT>; } Loading