|
|
|
@ -4,18 +4,24 @@ location = /.well-known/carddav { |
|
|
|
location = /.well-known/caldav { |
|
|
|
return 301 https://$server_name__PATH__/remote.php/dav; |
|
|
|
} |
|
|
|
location = /.well-known/host-meta { |
|
|
|
return 301 $scheme://$host:$server_port__PATH__/public.php?service=host-meta; |
|
|
|
} |
|
|
|
location = /.well-known/host-meta.json { |
|
|
|
return 301 $scheme://$host:$server_port__PATH__/public.php?service=host-meta-json; |
|
|
|
} |
|
|
|
location = /.well-known/webfinger { |
|
|
|
return 301 $scheme://$host:$server_port__PATH__/public.php?service=webfinger; |
|
|
|
} |
|
|
|
location = /.well-known/nodeinfo { |
|
|
|
return 301 $scheme://$host:$server_port__PATH__/public.php?service=nodeinfo; |
|
|
|
} |
|
|
|
|
|
|
|
# The following 2 rules are only needed for the user_webfinger app. |
|
|
|
# Uncomment it if you're planning to use this app. |
|
|
|
#location = /.well-known/host-meta { |
|
|
|
# return 301 $scheme://$host:$server_port__PATH__/public.php?service=host-meta; |
|
|
|
#} |
|
|
|
#location = /.well-known/host-meta.json { |
|
|
|
# return 301 $scheme://$host:$server_port__PATH__/public.php?service=host-meta-json; |
|
|
|
#} |
|
|
|
|
|
|
|
# The following 2 rules are only needed for the Social app. |
|
|
|
# Uncomment it if you're planning to use this app. |
|
|
|
#location = /.well-known/webfinger { |
|
|
|
# return 301 $scheme://$host:$server_port__PATH__/public.php?service=webfinger; |
|
|
|
#} |
|
|
|
#location = /.well-known/nodeinfo { |
|
|
|
# return 301 $scheme://$host:$server_port__PATH__/public.php?service=nodeinfo; |
|
|
|
#} |
|
|
|
|
|
|
|
#sub_path_only rewrite ^__PATH__$ __PATH__/ permanent; |
|
|
|
location ^~ __PATH__/ { |
|
|
|
|