Sub.awesome.tld:1000 not answering with docker firefox

discourse answers on awesome.tld ssl

sub A RR has same value as apex domain. “because the website uses HSTS. Network errors and attacks are usually temporary, so this page will probably work later.” I could not use the apex domain and port

neither work? the docker firefox generates a self signed cert which is good enough for this

how do I use both?