Просмотр исходного кода

Merge branch 'master' into email

Nate Harris 7 месяцев назад
Родитель
Сommit
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
 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
 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/* {
     uri strip_prefix /radicale
     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
 RewriteEngine On

+ 0 - 1
contrib/nginx/radicale.conf

@@ -21,7 +21,6 @@ location /radicale/ {
 ## 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  X-Forwarded-Host $host;
 #    proxy_set_header  X-Forwarded-Port $server_port;