-
Notifications
You must be signed in to change notification settings - Fork 12
Open
Description
Hi,
I've been using this container image in a few instances since it fills my needs for a "http-simple-proxy" 😋
I found that I really needed the original "Host:" header forwarded I've done so by adding an extra line of configuration to my version of the container:
echo 'echo " proxy_pass_request_headers on;" >> default.conf' >> /entrypoint/primer.sh && \
echo 'echo " proxy_set_header X-Forwarded-For \$proxy_add_x_forwarded_for;" >> default.conf' >> /entrypoint/primer.sh && \
echo 'echo " proxy_set_header Host \$host;" >> default.conf' >> /entrypoint/primer.sh && \
I thought it would be good to share and you could see if there is a way to add this as a configurable option or maybe just in the base image.
cdrx, wayne530 and unknown321
Metadata
Metadata
Assignees
Labels
No labels