Skip to content

Commit

Permalink
update nginx-subdir.conf.sample: well-known redirects
Browse files Browse the repository at this point in the history
Add webfinger and nodeinfo redirects to match apache version.

Signed-off-by: Andreas Larsen <andreas@northcode.no>
  • Loading branch information
Northcode committed Jun 7, 2022
1 parent 2d10f23 commit e38af81
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions admin_manual/installation/nginx-subdir.conf.sample
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ server {
# The rules in this block are an adaptation of the rules
# in the Nextcloud `.htaccess` that concern `/.well-known`.

location = /.well-known/webfinger { return 301 /nextcloud/index.php/.well-known/webfinger; }
location = /.well-known/nodeinfo { return 301 /nextcloud/index.php/.well-known/nodeinfo; }

location = /.well-known/carddav { return 301 /nextcloud/remote.php/dav/; }
location = /.well-known/caldav { return 301 /nextcloud/remote.php/dav/; }

Expand Down

0 comments on commit e38af81

Please sign in to comment.