mirror of
https://github.com/hoellen/docker-nextcloud.git
synced 2026-10-15 07:42:34 +00:00
Remove nc_port
This commit is contained in:
1 parent
3a563dd4e2
commit
d279197f16
1 file changed
+3
-3
@@ -31,9 +31,9 @@ server {
|
|||||||
}
|
}
|
||||||
|
|
||||||
location /.well-known {
|
location /.well-known {
|
||||||
location = /.well-known/carddav { return 301 $nc_proto://$host:$nc_port/remote.php/dav; }
|
location = /.well-known/carddav { return 301 $nc_proto://$host/remote.php/dav; }
|
||||||
location = /.well-known/caldav { return 301 $nc_proto://$host:$nc_port/remote.php/dav; }
|
location = /.well-known/caldav { return 301 $nc_proto://$host/remote.php/dav; }
|
||||||
location ^~ /.well-known { return 301 $nc_proto://$host:$nc_port/index.php$uri; }
|
location ^~ /.well-known { return 301 $nc_proto://$host/index.php$uri; }
|
||||||
try_files $uri $uri/ =404;
|
try_files $uri $uri/ =404;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user