Skip to content

Instantly share code, notes, and snippets.

@dnno
Created July 8, 2024 07:00
Show Gist options
  • Save dnno/ee8dfd23d477a3dfcc04082f8e74af6a to your computer and use it in GitHub Desktop.
Save dnno/ee8dfd23d477a3dfcc04082f8e74af6a to your computer and use it in GitHub Desktop.
Additional reverse proxy configuration in Nginx
server {
# ...
location = /.well-known/carddav { return 301 /remote.php/dav/; }
location = /.well-known/caldav { return 301 /remote.php/dav/; }
location = /.well-known/webfinger { return 301 /index.php/.well-known/webfinger; }
location = /.well-known/nodeinfo { return 301 /index.php/.well-known/nodeinfo; }
# ...
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment