diff --git a/Caddyfile b/Caddyfile index 432f431..c4644ba 100644 --- a/Caddyfile +++ b/Caddyfile @@ -52,3 +52,17 @@ storage.thefossguy.com { tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem redir https://cloud.thefossguy.com{uri} } + + +admin.thefossguy.com { + reverse_proxy https://10.0.0.19:9090 { + transport http { + tls_insecure_skip_verify + } + } +} + +cockpit.thefossguy.com { + tls /etc/ssl/certs/certificate.pem /etc/ssl/private/key.pem + redir https://admin.thefossguy.com{uri} +} diff --git a/cockpit.conf b/cockpit.conf new file mode 100644 index 0000000..3ae59d1 --- /dev/null +++ b/cockpit.conf @@ -0,0 +1,3 @@ +[WebService] +Origins = https://admin.thefossguy.com wss://admin.thefossguy.com +ProtocolHeader = X-Forwarded-Proto