mirror of
https://github.com/foomo/neosproxy.git
synced 2026-11-30 00:31:46 +00:00
47 lines
1.1 KiB
TOML
47 lines
1.1 KiB
TOML
[proxy]
|
|
address = "1.2.3.4:80"
|
|
|
|
[neos]
|
|
host = "http://cms-example-hostname/"
|
|
|
|
[cache]
|
|
# duration value on which to automatically update the proxy
|
|
autoUpdateDuration = "15m"
|
|
# cache directory
|
|
directory = "/var/cache"
|
|
|
|
[channels]
|
|
[[channels.foomo-stage]]
|
|
type = "foomo"
|
|
url = "https://host.example.com/whatever/to-call"
|
|
verify-tls = true
|
|
key = "1234"
|
|
[[channels.foomo-prod]]
|
|
type = "foomo"
|
|
url = "https://host.example.com/whatever/to-call"
|
|
verify-tls = true
|
|
key = "1234"
|
|
[[channels.slack]]
|
|
type = "slack"
|
|
url = "https://hooks.slack.com/services/foo/bar"
|
|
channel = "#dev-ops-test"
|
|
[[channels.bla]]
|
|
type = "default"
|
|
url = "https://host.example.com/whatever/to-call"
|
|
verify-tls = true
|
|
key = "1234"
|
|
method = "post"
|
|
|
|
[callbacks]
|
|
[[callbacks.notifyOnUpdate]]
|
|
workspace = "stage"
|
|
channel = "foomo-stage"
|
|
[[callbacks.notifyOnUpdate]]
|
|
workspace = "live"
|
|
channel = "foomo-prod"
|
|
[[callbacks.notifyOnUpdate]]
|
|
workspace = "live"
|
|
channel = "foomo-stage"
|
|
[[callbacks.notifyOnUpdate]]
|
|
workspace = "live"
|
|
channel = "slack" |