Https, remote access, and nextcloudpi

How to access nextcloudpi using https?

nextcloud 27.0.1.2
nextcloudpi 1.52.4
php 8.1.22
client: ubuntu 20.04.5

Nextcloud has been running like a charm. But there are a few questions that I am stumbling over:

  1. Access to Nextcloudpi: When I login to nextcloud remotely, then hit the nextcloudpi icon (linking to https://nc.example.com/index.php/apps/nextcloudpi/, I only get “{“message”:“CORS requires basic auth”}” - what could that mean?
    The same happens via http://192.168.1.111
    I can login via http://192.168.1.111:4443
    But when I try to access https://nc.example.com:4443, I get ERR_CONNECTION_REFUSED
    What could be the reason:
    Browser: Chromium 115.0.5790.102

  2. Remote access via https://nc.example.com works with TLS. But local access via http://192.168.1.111 does not. Together with the first point this means that I can access nextcloudpi via the browser only without TLS. Presumably that is not ideal. Would it make sense to ensure I can access locally using encryption?