From 4c0995ed60034c687c6464e7abdbd6f45eb6d5a2 Mon Sep 17 00:00:00 2001 From: Simon Willison Date: Thu, 7 Jan 2021 15:42:14 -0800 Subject: [PATCH] Fixed bug in example nginx config, refs #1091 --- docs/deploying.rst | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/deploying.rst b/docs/deploying.rst index d1abe6a3..4e04ea1d 100644 --- a/docs/deploying.rst +++ b/docs/deploying.rst @@ -146,7 +146,7 @@ Here is an example of an `nginx `__ configuration file that listen 80; location /my-datasette { - proxy_pass http://127.0.0.1:8009; + proxy_pass http://127.0.0.1:8009/my-datasette; proxy_set_header X-Real-IP $remote_addr; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; }