fix(caddy): drop tls_insecure_skip_verify on code.ginnoir.com (502)
tls_insecure_skip_verify inside transport http implicitly opts the upstream connection into TLS. code-server (lscr.io/linuxserver) serves plain HTTP on 8443, so Caddy's TLS handshake failed with 'tls: first record does not look like a TLS handshake' -> 502.
This commit is contained in:
@@ -225,11 +225,7 @@ gitea.ginnoir.com {
|
|||||||
|
|
||||||
code.ginnoir.com {
|
code.ginnoir.com {
|
||||||
import internal_only
|
import internal_only
|
||||||
reverse_proxy code_server:8443 {
|
reverse_proxy code_server:8443
|
||||||
transport http {
|
|
||||||
tls_insecure_skip_verify
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
registry.ginnoir.com {
|
registry.ginnoir.com {
|
||||||
|
|||||||
Reference in New Issue
Block a user