mirror of
https://github.com/Kozea/Radicale.git
synced 2025-04-06 14:47:35 +03:00
initial nginx config file
This commit is contained in:
parent
0badab86a6
commit
5cafd29d7f
1 changed files with 21 additions and 0 deletions
21
contrib/nginx/radicale.conf
Normal file
21
contrib/nginx/radicale.conf
Normal file
|
@ -0,0 +1,21 @@
|
||||||
|
### Proxy Forward to local running "radicale" server
|
||||||
|
###
|
||||||
|
### Usual configuration file location: /etc/nginx/default.d/
|
||||||
|
|
||||||
|
## Base URI: /radicale/
|
||||||
|
#location /radicale/ {
|
||||||
|
# proxy_pass http://localhost:5232/;
|
||||||
|
# proxy_set_header X-Script-Name /radicale;
|
||||||
|
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
# proxy_set_header Host $http_host;
|
||||||
|
# proxy_pass_header Authorization;
|
||||||
|
#}
|
||||||
|
|
||||||
|
## Base URI: /
|
||||||
|
#location / {
|
||||||
|
# proxy_pass http://localhost:5232/;
|
||||||
|
# proxy_set_header X-Script-Name /radicale;
|
||||||
|
# proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
||||||
|
# proxy_set_header Host $http_host;
|
||||||
|
# proxy_pass_header Authorization;
|
||||||
|
#}
|
Loading…
Add table
Add a link
Reference in a new issue