2020-12-09 16:20:24 +03:00
|
|
|
http://localhost:8000
|
|
|
|
|
|
|
|
|
|
|
|
file_server
|
|
|
|
|
2021-01-12 11:47:06 +03:00
|
|
|
rewrite /api/* {path}
|
|
|
|
reverse_proxy /api/* localhost:3002
|
|
|
|
|
2020-12-09 16:20:24 +03:00
|
|
|
@production {
|
|
|
|
path_regexp production /static/(.*)
|
|
|
|
}
|
|
|
|
rewrite @production /octopod-css/production/{http.regexp.production.1}
|
|
|
|
|
2021-01-12 11:47:06 +03:00
|
|
|
rewrite /config.json /dev/config.json
|
2020-12-09 16:20:24 +03:00
|
|
|
|
|
|
|
@3003 {
|
2021-01-12 11:47:06 +03:00
|
|
|
not path /octopod-css/* /frontend-result/* /dev/config.json
|
2020-12-09 16:20:24 +03:00
|
|
|
}
|
|
|
|
|
|
|
|
reverse_proxy @3003 localhost:3003
|
|
|
|
|
|
|
|
log {
|
|
|
|
output stdout
|
|
|
|
format single_field common_log
|
|
|
|
}
|