BBaoVanC
7c7191882e
I never used it because it's not very useful. Too much noise from bots, crawlers, etc.
20 lines
328 B
Plaintext
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
|
|
}
|