Yayyy!! This finally worked. I appreciate it.
I modified the code just a bit as follows:
{
storage file_system {
root /mnt/efs/fs1
}
on_demand_tls {
ask https://api.nvssolutions.com/api/domain-checker-base
}
}
:443 {
reverse_proxy sites.nvssolutions.io:443
tls moe@nvssolutions.com {
on_demand
}
}
http://*.amazonaws.com {
respond "OK!"
}
Can I ask one more? Now when I go to a site it doesn’t seem to auto redirect to HTTPS.
If I go to https:// it works fine, but http:// it says: Client sent an HTTP request to an HTTPS server.
This shows error => http://acl1.tagahash.com
This works correctly => https://acl1.tagahash.com
Can you guide me how I can finish this and get it redirected to https?