freenas / iocage-plugin-nextcloud

Artifact file(s) for nextcloud iocage plugin
18 stars 34 forks source link

Update nginx config to Nextcloud 21 recommendation #36

Closed ossama-othman closed 3 years ago

ossama-othman commented 3 years ago

The Nextcloud 21 recommended nginx configuration changes how /.well-known URLs are handled, and also drops the global cache expiry setting. Update nextcloud.conf.template accordingly.

See the following for details: https://docs.nextcloud.com/server/21/admin_manual/installation/nginx.html

ossama-othman commented 3 years ago

Upgrading to the Nextcloud 21 package introduces the following warnings in the settings/admin/overview Nextcloud page:

    Your web server is not properly set up to resolve "/.well-known/webfinger". Further information can be found in the documentation.
    Your web server is not properly set up to resolve "/.well-known/nodeinfo". Further information can be found in the documentation.

I was hoping this change would address the warnings, but a quick Web search indicates that it may be a problem that can currently only be solved by installing Nextcloud social apps, but I haven't confirmed this yet. The warnings exist both before and after this change is applied to the existing Nextcloud plugin's nextcloud.conf file.