datasette/demos/apache-proxy
2021-11-20 10:51:14 -08:00
..
deploy.sh Use build arguments, refs #1522 2021-11-19 16:34:35 -08:00
Dockerfile Switch from Alpine to Debian, refs #1522 2021-11-20 10:51:14 -08:00
README.md Use build arguments, refs #1522 2021-11-19 16:34:35 -08:00

Datasette running behind an Apache proxy

See also Running Datasette behind a proxy

This live demo is running at https://apache-proxy-demo.datasette.io/

To build locally, passing in a Datasette commit hash (or main for the main branch):

docker build -t datasette-apache-proxy-demo . \
  --build-arg DATASETTE_REF=c617e1769ea27e045b0f2907ef49a9a1244e577d

Then run it like this:

docker run -p 5000:80 datasette-apache-proxy-demo

And visit http://localhost:5000/ or http://localhost:5000/prefix/