caddy/conf.d/git.boba.best

20 lines
322 B
Plaintext
Raw Normal View History

2021-08-01 16:59:16 -05:00
# vim: ft=caddyfile
git.boba.best {
encode zstd gzip
2021-09-04 16:47:16 -05:00
import hsts
2021-08-01 16:59:16 -05:00
handle_path /_/static/assets/* {
2021-08-01 16:59:16 -05:00
root * /var/www/git.boba.best/public
file_server
}
handle {
reverse_proxy localhost:85 {
2021-08-01 16:59:16 -05:00
header_up X-Real-IP {remote_host}
}
}
import basicerrors
}