Last active
October 16, 2019 15:53
-
-
Save sgqy/24599220bd378ecd8a8b19108db31506 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# auto deploy a fake mirror of aozora.gr.jp | |
http://aozora.local { | |
root /www/aozora | |
log /dev/shm/caddy-aozora.log | |
# install with http.git | |
git { | |
# clone official site copy | |
repo https://github.com/aozorabunko/aozorabunko.git | |
path /www/aozora | |
clone_args --depth=1 | |
} | |
header / { | |
Content-Type "" # multi charset sucks by default, but this still has error | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment