Преглед изворни кода

Merge branch 'master' into email

Nate Harris пре 7 месеци
родитељ
комит
19fe7fcd68
2 измењених фајлова са 7 додато и 7 уклоњено
  1. 7 6
      DOCUMENTATION.md
  2. 0 1
      contrib/nginx/radicale.conf

+ 7 - 6
DOCUMENTATION.md

@@ -382,9 +382,9 @@ should be made available at the root of the web server (in the nginx case
 using `location /`), then the setting of the `X-Script-Name` header should be
 using `location /`), then the setting of the `X-Script-Name` header should be
 removed from the example below.
 removed from the example below.
 
 
-Example **nginx** configuration:
+Example **nginx** configuration extension:
 
 
-See for latest examples: https://github.com/Kozea/Radicale/tree/master/contrib/nginx/
+See also for latest examples: https://github.com/Kozea/Radicale/tree/master/contrib/nginx/
 
 
 ```nginx
 ```nginx
 location /radicale/ { # The trailing / is important!
 location /radicale/ { # The trailing / is important!
@@ -399,20 +399,21 @@ location /radicale/ { # The trailing / is important!
 }
 }
 ```
 ```
 
 
-Example **Caddy** configuration:
+Example **Caddy** configuration extension:
+
+See also for latest examples: https://github.com/Kozea/Radicale/tree/master/contrib/caddy/
 
 
 ```
 ```
 handle_path /radicale/* {
 handle_path /radicale/* {
     uri strip_prefix /radicale
     uri strip_prefix /radicale
     reverse_proxy localhost:5232 {
     reverse_proxy localhost:5232 {
-        header_up X-Script-Name /radicale
     }
     }
 }
 }
 ```
 ```
 
 
-Example **Apache** configuration:
+Example **Apache** configuration extension:
 
 
-See for latest examples: https://github.com/Kozea/Radicale/tree/master/contrib/apache/
+See also for latest examples: https://github.com/Kozea/Radicale/tree/master/contrib/apache/
 
 
 ```apache
 ```apache
 RewriteEngine On
 RewriteEngine On

+ 0 - 1
contrib/nginx/radicale.conf

@@ -21,7 +21,6 @@ location /radicale/ {
 ## Base URI: /
 ## Base URI: /
 #location / {
 #location / {
 #    proxy_pass        http://localhost:5232/;
 #    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  X-Forwarded-For $proxy_add_x_forwarded_for;
 #    proxy_set_header  X-Forwarded-Host $host;
 #    proxy_set_header  X-Forwarded-Host $host;
 #    proxy_set_header  X-Forwarded-Port $server_port;
 #    proxy_set_header  X-Forwarded-Port $server_port;