diff --git a/Caddyfile b/Caddyfile index 995b543..3dc0b41 100644 --- a/Caddyfile +++ b/Caddyfile @@ -137,3 +137,24 @@ vault1984.jongsma.me, vault1984.jongsma.me:1984 { -Server } } + +clavitor.jongsma.me { + handle_path /account/* { + reverse_proxy 192.168.1.16:8098 + } + + @account path /account + handle @account { + redir /account/ 301 + } + + reverse_proxy 192.168.1.16:1984 + + header { + Strict-Transport-Security "max-age=31536000; includeSubDomains" + X-Content-Type-Options "nosniff" + X-Frame-Options "DENY" + Referrer-Policy "strict-origin-when-cross-origin" + -Server + } +}