Kay0u
5 years ago
No known key found for this signature in database
GPG Key ID: AAFEEB16CFA2AE2D
1 changed files with
2 additions and
6 deletions
-
conf/nginx.conf
|
|
@ -5,16 +5,12 @@ location ^~ /.well-known { |
|
|
# Uncomment it if you're planning to use this app. |
|
|
# Uncomment it if you're planning to use this app. |
|
|
#rewrite ^/\.well-known/host-meta\.json __PATH__/public.php?service=host-meta-json last; |
|
|
#rewrite ^/\.well-known/host-meta\.json __PATH__/public.php?service=host-meta-json last; |
|
|
#rewrite ^/\.well-known/host-meta __PATH__/public.php?service=host-meta last; |
|
|
#rewrite ^/\.well-known/host-meta __PATH__/public.php?service=host-meta last; |
|
|
# The following 2 rules are only needed for the Social app. |
|
|
|
|
|
# Uncomment it if you're planning to use this app. |
|
|
|
|
|
#rewrite ^/\.well-known/webfinger __PATH__/public.php?service=webfinger last; |
|
|
|
|
|
#rewrite ^/\.well-known/nodeinfo __PATH__/public.php?service=nodeinfo last; |
|
|
|
|
|
|
|
|
|
|
|
location = /.well-known/carddav { return 301 __PATH__/remote.php/dav/; } |
|
|
location = /.well-known/carddav { return 301 __PATH__/remote.php/dav/; } |
|
|
location = /.well-known/caldav { return 301 __PATH__/remote.php/dav/; } |
|
|
location = /.well-known/caldav { return 301 __PATH__/remote.php/dav/; } |
|
|
|
|
|
|
|
|
# Anything else is dynamically handled by Nextcloud |
|
|
|
|
|
location ^~ /.well-known { return 301 __PATH__/index.php$uri; } |
|
|
|
|
|
|
|
|
location = /.well-known/webfinger { return 301 __PATH__/index.php$uri; } |
|
|
|
|
|
location = /.well-known/nodeinfo { return 301 __PATH__/index.php$uri; } |
|
|
|
|
|
|
|
|
try_files $uri $uri/ =404; |
|
|
try_files $uri $uri/ =404; |
|
|
} |
|
|
} |
|
|
|