diff --git a/Caddyfile b/Caddyfile index 456c3ed..57956e7 100644 --- a/Caddyfile +++ b/Caddyfile @@ -47,6 +47,16 @@ sync.mycloudhaus.xyz { } } +web.mycloudhaus.xyz { + route { + crowdsec + basic_auth { + theo $2a$14$mJszfW/9Pay63RdHY7Om1e0VdYaCWwP5QnpzdM7oCbrCnYQzB8.bS + } + reverse_proxy 10.0.0.2:8000 + } +} + notes.mycloudhaus.xyz { route { crowdsec @@ -56,8 +66,6 @@ notes.mycloudhaus.xyz { reverse_proxy 127.0.0.1:3050 { header_up Host {host} header_up X-Real-IP {remote_host} - header_up X-Forwarded-For {remote_host} - header_up X-Forwarded-Proto {scheme} } } }