Files
neosproxy/config-example.toml
T

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"