mirror of
https://github.com/simonw/datasette.git
synced 2025-12-10 16:51:24 +01:00
ProxyPreserveHost On for apache-proxy demo, refs #1522
This commit is contained in:
parent
640031edfd
commit
24b5006ad7
1 changed files with 1 additions and 0 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue