possible issues contributing to this:
- web_asset_store.xml template has http:// hardcoded into it
- server.py lines 204 and 330 hardcodes http:// and the settings.py port. It may be better to pull this information from the request itself.
I don't think fixing these is enough to get https working for the Specify app (at least v6) as an error still occurs after fixing these when trying to use the https url with the Specify app.