Skip to content

Nginx Proxy Manager Notes

Running nextcloud through Nginx Proxy Manager requires some additional settings.

This last part is the most important because it make sure that the redirect for caldav and carddav works as intended.

client_body_buffer_size 512k;
proxy_read_timeout 86400s;
client_max_body_size 0;
location /.well-known/carddav {
    return 301 $scheme://$host/remote.php/dav;
}
location /.well-known/caldav {
    return 301 $scheme://$host/remote.php/dav;
}
location /.well-known/webfinger {
    return 301 $scheme://$host/index.php/.well-known/webfinger;
}
location /.well-known/nodeinfo{
    return 301 $scheme://$host/index.php/.well-known/nodeinfo;
}
Published inBSD

Be First to Comment

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.