I’m trying to configure Caddy to serve Ajenti on a subdomain. I’m not getting any errors in the browser. But when loading the page it just returns a blank page. I get redirected to min.mysite.com/view/login/normal
CaddyFile
https://mysite.com {
encode zstd gzip
root * /home/azureuser/apps/mysite/current/public
file_server
tls antarr@hey.com
@notStatic {
not file
}
reverse_proxy @notStatic unix//home/azureuser/apps/mysite/shared/tmp/sockets/we-vote-puma.sock
header / {
Strict-Transport-Security "max-age=31536000"
}
}
monitoring.mysite.com {
@notStatic {
not file
}
reverse_proxy @notStatic localhost:2812
tls antarr@hey.com
}
min.mysite.com {
reverse_proxy / localhost:8000
tls antarr@hey.com
}