2
Since you’re using a separate subdomain for your assets, you can use a protocol-relative URL which always serves on the same protocol as the source page:
STATIC_URL = "//static.example.com"
Source:stackexchange.com
2
Since you’re using a separate subdomain for your assets, you can use a protocol-relative URL which always serves on the same protocol as the source page:
STATIC_URL = "//static.example.com"