Skip to content
Snippets Groups Projects

Gaiax mediator

Merged Kristiyan Saparevski requested to merge gaiax-mediator into main
4 files
+ 8
8
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 3
3
@@ -9,7 +9,7 @@ data:
debug
}
:80 {
:2015 {
@websockets {
header Connection upgrade
header_regexp Connection (?i)^upgrade$
@@ -18,12 +18,12 @@ data:
# Handle any traffic that matches the `@websockets` pattern
handle @websockets {
reverse_proxy SERVICE:PORT
reverse_proxy http://mediator:3000
}
# Handle all other traffic.
handle {
reverse_proxy http://SERVICE:PORT
reverse_proxy http://mediator:3000
}
# What logs should look like.
Loading