Nomad UI Cannot fetch logs when behind Nginx proxy

Nomad running on port 4646 which no SSL, but nomad UI is behind a nginx reverse proxy that listens on https://nomad.example.com. When fetching logs, nomad UI tries to get from https://<client_ip>:4646/…, but nomad client won’t accept a https connection and the UI complains cannot fetch logs.

Should the UI try to fetch from http://<client_ip>:4646 instead of https ?