1
0
mirror of https://github.com/hoellen/docker-nextcloud.git synced 2025-05-01 09:59:54 +00:00

Adding trailing slash

https://docs.nextcloud.com/server/29/admin_manual/installation/nginx.html indicates there has to me one
This commit is contained in:
Jan Wagner 2024-06-07 12:31:49 +02:00
parent 6facdfba4f
commit ce35996d44
No known key found for this signature in database
GPG Key ID: 0C70557B5A06513E

@ -30,8 +30,8 @@ server {
} }
location ^~ /.well-known { location ^~ /.well-known {
location = /.well-known/carddav { return 301 $nc_proto://$host/remote.php/dav; } location = /.well-known/carddav { return 301 $nc_proto://$host/remote.php/dav/; }
location = /.well-known/caldav { return 301 $nc_proto://$host/remote.php/dav; } location = /.well-known/caldav { return 301 $nc_proto://$host/remote.php/dav/; }
location ^~ /.well-known { return 301 $nc_proto://$host/index.php$uri; } location ^~ /.well-known { return 301 $nc_proto://$host/index.php$uri; }
try_files $uri $uri/ =404; try_files $uri $uri/ =404;
} }