caddy/conf.d/git.bbaovanc.com

20 lines
328 B
Plaintext
Raw Normal View History

2021-11-08 19:15:57 -06:00
# vim: ft=caddyfile
git.bbaovanc.com {
encode zstd gzip
import hsts
handle_path /_/static/assets/* {
root * /var/www/git.bbaovanc.com/public
file_server
}
handle {
reverse_proxy localhost:81 {
header_up X-Real-IP {remote_host}
}
}
import basicerrors
}