Add HTTPS support with self-signed certificates for internal domain

- Add HTTPS blocks for digiserver.sibiusb.harting.intra with internal TLS
- Add HTTPS support for IP address 10.76.152.164
- Add catch-all HTTPS handler with self-signed certificate
- Fixes connection refused error on port 443
This commit is contained in:
Quality App Developer
2026-01-14 14:28:16 +02:00
parent 48f1bfbcad
commit 1e08fa45a1

View File

@@ -49,12 +49,30 @@ http://digiserver.sibiusb.harting.intra {
import reverse_proxy_config 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 { http://10.76.152.164 {
import reverse_proxy_config 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 # Catch-all for any other HTTP requests
http://* { http://* {
import reverse_proxy_config import reverse_proxy_config
} }
# Catch-all for any other HTTPS requests
https://* {
import reverse_proxy_config
tls internal
}