cURL error when accessing SSL Local Site

Hi @hughie,

I did some testing and you can get it to loop back through the router from inside another container. Here’s what I did:

  1. Right-click on the site and go to “Open Site SSH”
  2. Enter /sbin/ip route|awk '/default/ { print $3 }' and copy the IP
  3. Type nano /etc/hosts and add a new line at the bottom for the site you’re trying to access. It should look something like 172.17.0.1 test-1.dev. Use the IP from above.
  4. Test the connection. Please note that the certificate is still self-signed so you’ll need to put it into insecure mode.
1 Like