git.iko.soy/typeable/octopod
on 1.2.1 help sign in
typeable/octopod/Caddyfile
27 lines 460 B history raw
1http://localhost:8000
4file_server
6rewrite /api/* {path}
7reverse_proxy /api/* localhost:3002
9@production {
10 path_regexp production /static/(.*)
12rewrite @production /octopod-css/production/{http.regexp.production.1}
14rewrite /config.json /dev/config.json
15rewrite * /frontend-result/{path}
18@3003 {
19 not path /octopod-css/* /frontend-result/* /dev/config.json
22reverse_proxy @3003 localhost:3003
24log {
25 output stdout
26 format single_field common_log