Can't get Thunderbird to sync calendar/contacts w/ Nextcloud

I think there is general problem related to system setup, most likely reverse proxy.
Please review 101: reverse proxy and post config and logs according to support template