Webfinger and nodeinfo

This is 2023, and we still don’t have a good documentation for this:

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

I am using nginx, and no guide out there have a fix or a mention on what to do so that this disappears from an nginx install.

I also try to curl https://mysite.com/index.php/.well-known/webfinger, but get a 404, as well as with node info.

Could anyone out there, with an nginx reverse-proxy and nginx-based nextcloud install, give some tips if you managed to solve this?

Best,

Francis