caddy/conf.d/git.boba.best

20 lines
322 B
Plaintext

# vim: ft=caddyfile
git.boba.best {
encode zstd gzip
import hsts
handle_path /_/static/assets/* {
root * /var/www/git.boba.best/public
file_server
}
handle {
reverse_proxy localhost:85 {
header_up X-Real-IP {remote_host}
}
}
import basicerrors
}