Currently I have setup
docker
with linux ubuntu 18.04
In my container reverent_ptolemy
contains the project of my api.
On my container
HTTP vhosts configuration is listening to 3021
HTTPS vhosts configuration is listening to 1250
and on my Host
port 3021
is mapped to port 80
port 1250
is mapped to port 443
In my host
docker
I can access my api through HTTPS Curl
like this
curl https://<sub-domain>/api/login
But when I tried to access this from the browser
this gives me an error like this
PS:
Only http://<subdomain>/api/login
is accessible from the outside world not the https
What could be the reason why HTTPS is only accessible on the host and container but not accessible from the outside world?