diff --git a/caddy/Caddyfile b/caddy/Caddyfile index 0845b11..6aa3bb5 100644 --- a/caddy/Caddyfile +++ b/caddy/Caddyfile @@ -7,7 +7,7 @@ } # Physical -(omv) { +(omv) { reverse_proxy 192.168.1.6:{args.0} } (n2) { @@ -90,8 +90,11 @@ quodatum.duckdns.org { @warden host warden.quodatum.duckdns.org handle @warden { import auth_quodatum - reverse_proxy 0.0.0.0:8882 - reverse_proxy /notifications/hub 0.0.0.0:3012 + tls bunce.andy@gmail.com + reverse_proxy /notifications/hub 192.168.1.5::3012 + reverse_proxy 192.168.1.5::8882 { + header_up X-Real-IP {remote_host} + } } @nextcloud host nextcloud.quodatum.duckdns.org @@ -180,8 +183,8 @@ xu4.local { root * links file_server browse } -warden.local { - tls internal - reverse_proxy localhost:8882 - reverse_proxy /notifications/hub localhost:3012 +warden.local:443 { + tls bunce.andy@gmail.com + reverse_proxy 192.168.1.5::8882 + reverse_proxy /notifications/hub 192.168.1.5:3012 } \ No newline at end of file