caddy/conf.d/git.bbaovanc.com
BBaoVanC 7c7191882e Remove worthless server side logging
I never used it because it's not very useful. Too much noise from bots,
crawlers, etc.
2022-05-20 22:56:37 -05:00

20 lines
328 B
Plaintext

# 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
}