DSN links are showing up non HTTPS by default

We are running Sentry 21.11.0.dev0 over SSL which works correctly (letsencrypt and nginx), but when configuring projects and checking out the DSN, the links show up as http by default:

Ideally, we want these links to show up and be copied as HTTPS by default.

Am I missing any configuration? Browser is correctly redirecting all traffic to HTTPS, SSL certificate is valid as well. Everything SSL related appears to be working as expected.

When checking /manage/status/environment/ , I can see a few SSL related settings such as SECURE_SSL_HOST, which is set to None. I can’t find any documentation on these settings, so don’t know where to modify them.