caddy/conf.d/git.bbaovanc.com

28 lines
603 B
Plaintext

# vim: ft=caddyfile
git.bbaovanc.com {
encode zstd gzip
import hsts
handle {
reverse_proxy localhost:81 {
header_up X-Real-IP {remote_host}
#@404 status 404
#handle_response @404 {
# handle /bbaovanc/* {
# root * /etc/caddy/github-redirect/
# rewrite * /index.php?uri={uri}
# php_fastcgi unix//run/php/php-fpm.sock
# }
# handle {
# copy_response
# }
#}
}
}
import basicerrors
}