Browse Source

roles/nextcloud: fix reverse proxy for webdav

python3
Zolfa 5 years ago
parent
commit
e92c42c254
Signed by: zolfa GPG Key ID: E1A43B038C4D6616
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      roles/nextcloud/templates/nextcloud.conf.j2

+ 2
- 2
roles/nextcloud/templates/nextcloud.conf.j2 View File

@ -17,10 +17,10 @@ location = /robots.txt {
} }
location = /.well-known/carddav { location = /.well-known/carddav {
return 301 $scheme://$host:$server_port/remote.php/dav;
return 301 $scheme://$host/remote.php/dav;
} }
location = /.well-known/caldav { location = /.well-known/caldav {
return 301 $scheme://$host:$server_port/remote.php/dav;
return 301 $scheme://$host/remote.php/dav;
} }
# set max upload size # set max upload size


Loading…
Cancel
Save