caddy/conf.d/git.boba.best

21 lines
337 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-10-30 00:06:10 -05:00
import log
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
}