Fixed bug in example nginx config, refs #1091

This commit is contained in:
Simon Willison 2021-01-07 15:42:14 -08:00 committed by GitHub
commit 4c0995ed60
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -146,7 +146,7 @@ Here is an example of an `nginx <https://nginx.org/>`__ 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;
}