treebird/docs/sample/treebird.caddy
nekobit fc6981e5c6 Add caddy files, update solarized
FossilOrigin-Name: 48ed063c862f41c72851195891203a703b3da6aefb848f4c902fa5df9437dce3
2022-07-07 06:12:09 +00:00

40 lines
No EOL
981 B
Text

waifuism.life {
reverse_proxy 127.0.0.1:4000
}
treebird.waifuism.life {
route {
handle /js/* {
root * /usr/local/share/treebird
try_files {path}
file_server
}
handle /img/* {
root * /usr/local/share/treebird
try_files {path}
file_server
}
handle /svg/* {
root * /usr/local/share/treebird
try_files {path}
file_server
}
handle /*.css {
root * /usr/local/share/treebird
try_files {path}
file_server
}
handle /*.png {
root * /usr/local/share/treebird
try_files {path}
file_server
}
handle /* {
reverse_proxy * unix//var/run/fcgiwrap.socket {
transport fastcgi {
env SCRIPT_FILENAME /usr/local/bin/treebird.cgi
}
}
}
}
}