# Unavoidable security & setup warnings with NC 21 update

**URL:** <https://help.nextcloud.com/t/unavoidable-security-setup-warnings-with-nc-21-update/108667>\
**Category:** 📦 Appliances (Docker, Snappy, VM, NCP, AIO)\
**Tags:** docker, nc21\
**Created:** [February 22, 2021, 5:02pm UTC](https://help.nextcloud.com/t/unavoidable-security-setup-warnings-with-nc-21-update/108667 "2021-02-22T17:02:16Z")\
**Posts on this page:** 1\
**Showing post:** 30

<div class="post-metadata">

**Author:** ![kchan101](https://help.nextcloud.com/letter_avatar/kchan101/32/6_22734026db12803ebb3e059622ac3534.png) [@kchan101](https://help.nextcloud.com/u/kchan101)\
**Post date:** [February 24, 2021, 11:08am UTC](https://help.nextcloud.com/t/unavoidable-security-setup-warnings-with-nc-21-update/108667/30 "2021-02-24T11:08:36Z")

</div>

The docs only seem to document entries for caldav/carddav. Besides using index.php rather than public.php, the format of the rewrite is also different. I have the following entries which got rid of the warnings:

RewriteRule ^.well-known/carddav /nextcloud/remote.php/dav/ [R=301,L]  
RewriteRule ^.well-known/caldav /nextcloud/remote.php/dav/ [R=301,L]  
RewriteRule ^.well-known/webfinger /nextcloud/index.php/.well-known/webfinger [R=301,L]  
RewriteRule ^.well-known/nodeinfo /nextcloud/index.php/.well-known/nodeinfo [R=301,L]

Don’t forget to also restart httpd.

Can you post the entries you have?

---

_[View the full topic](https://help.nextcloud.com/t/unavoidable-security-setup-warnings-with-nc-21-update/108667)._
