I want to have “timeout gateway” in front of everything. binded to port 80/443
I want it forwards all requests to second gateway, which manages list of websites/domains and manages tls certificates.
also timeout gateway should redirect all http trafic to https.
Later on I want to configure timeout logic to this first getaway, so it will retry all requests to second gateway.
That way I don’t need to setup this timeout logic for each specific host.
Don’t know how to configure this ins caddy. It gives me ssl certificate error in browser
:443 reverse_proxy 127.0.0.1:9001
Secure Connection Failed An error occurred during a connection to www.artem.ee. Peer reports it experienced an internal error. Error code: SSL_ERROR_INTERNAL_ERROR_ALERT The page you are trying to view cannot be shown because the authenticity of the received data could not be verified. Please contact the website owners to inform them of this problem.
2020/06/05 14:52:19 http: TLS handshake error from 192.168.8.100:54985: no certificate available for 'real.domain.com'
tried all options related to tls, but that does not work. tried to remove https: prefix. nothing works