diff --git a/Caddyfile b/Caddyfile index 190533b..4ef25e2 100755 --- a/Caddyfile +++ b/Caddyfile @@ -49,12 +49,30 @@ http://digiserver.sibiusb.harting.intra { import reverse_proxy_config } -# Handle IP address access +# Internal domain (HTTPS - self-signed certificate) +https://digiserver.sibiusb.harting.intra { + import reverse_proxy_config + tls internal +} + +# Handle IP address access (HTTP) http://10.76.152.164 { import reverse_proxy_config } +# Handle IP address access (HTTPS - self-signed) +https://10.76.152.164 { + import reverse_proxy_config + tls internal +} + # Catch-all for any other HTTP requests http://* { import reverse_proxy_config } + +# Catch-all for any other HTTPS requests +https://* { + import reverse_proxy_config + tls internal +}