datasette/demos/apache-proxy/000-default.conf

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

13 lines
321 B
Text
Raw Permalink Normal View History

<Directory /app/html/>
Options Indexes FollowSymLinks
AllowOverride None
Require all granted
</Directory>
<VirtualHost *:80>
ServerName localhost
DocumentRoot /app/html
ProxyPreserveHost On
ProxyPass /prefix/ http://127.0.0.1:8001/
Header add X-Proxied-By "Apache2 Debian"
</VirtualHost>