mirror of
https://github.com/nextcloud/documentation.git
synced 2025-10-26 11:18:02 +00:00
Add NGINX reverse proxy code block
Signed-off-by: Mat M <matm@gmx.fr>
This commit is contained in:
parent
399c7ac4f5
commit
529ee49511
@ -90,6 +90,18 @@ HAProxy
|
||||
acl url_discovery path /.well-known/caldav /.well-known/carddav
|
||||
http-request redirect location /remote.php/dav/ code 301 if url_discovery
|
||||
|
||||
NGINX
|
||||
^^^^^^^
|
||||
::
|
||||
|
||||
location /.well-known/carddav {
|
||||
return 301 $scheme://$host/remote.php/dav;
|
||||
}
|
||||
|
||||
location /.well-known/caldav {
|
||||
return 301 $scheme://$host/remote.php/dav;
|
||||
}
|
||||
|
||||
Example
|
||||
-------
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user