1
0
Fork 0
mirror of https://github.com/Kozea/Radicale.git synced 2025-06-29 16:55:32 +00:00

Improve nginx example

This commit is contained in:
Unrud 2017-06-01 10:25:31 +02:00 committed by GitHub
parent cb05958aff
commit cdeabe1b3f

View file

@ -10,9 +10,11 @@ from the URL path that is forwarded to Radicale.
Example **nginx** configuration: Example **nginx** configuration:
```nginx ```nginx
location /sub/folder/radicale { location /radicale/ { # The trailing / is important!
proxy_pass localhost:5232/; # The / is important! proxy_pass http://localhost:5232/; # The / is important!
proxy_set_header X-Script-Name /sub/folder/radicale; proxy_set_header X-Script-Name /radicale;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_pass_header Authorization;
} }
``` ```