Skip to content

Commit

Permalink
ProxyPreserveHost On for apache-proxy demo, refs #1522
Browse files Browse the repository at this point in the history
  • Loading branch information
simonw committed Nov 20, 2021
1 parent 640031e commit 24b5006
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions demos/apache-proxy/Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ RUN echo -e 'ServerName localhost\n\
Allow from all\n\
</Proxy>\n\
\n\
ProxyPreserveHost On\n\
ProxyPass /prefix/ http://localhost:8001/\n\
Header add X-Proxied-By "Apache2"' >> /etc/apache2/httpd.conf

Expand Down

0 comments on commit 24b5006

Please sign in to comment.