Add caddy files, update solarized
FossilOrigin-Name: 48ed063c862f41c72851195891203a703b3da6aefb848f4c902fa5df9437dce3
This commit is contained in:
parent
05c0407ced
commit
fc6981e5c6
3 changed files with 2100 additions and 335 deletions
1191
dist/solarized-dark.css
vendored
1191
dist/solarized-dark.css
vendored
File diff suppressed because it is too large
Load diff
1204
dist/solarized.css
vendored
1204
dist/solarized.css
vendored
File diff suppressed because it is too large
Load diff
40
docs/sample/treebird.caddy
Normal file
40
docs/sample/treebird.caddy
Normal file
|
@ -0,0 +1,40 @@
|
|||
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
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue