diff options
Diffstat (limited to '.ship/Caddyfile')
| -rw-r--r-- | .ship/Caddyfile | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/.ship/Caddyfile b/.ship/Caddyfile index 88ed6d3..572e43d 100644 --- a/.ship/Caddyfile +++ b/.ship/Caddyfile | |||
| @@ -1,4 +1,4 @@ | |||
| 1 | nostr-grpc.x.bdw.to { | 1 | muxstr.x.bdw.to { |
| 2 | # Route native gRPC to port 50051 | 2 | # Route native gRPC to port 50051 |
| 3 | @grpc { | 3 | @grpc { |
| 4 | header Content-Type application/grpc* | 4 | header Content-Type application/grpc* |
| @@ -9,10 +9,11 @@ nostr-grpc.x.bdw.to { | |||
| 9 | } | 9 | } |
| 10 | } | 10 | } |
| 11 | 11 | ||
| 12 | # Everything else (Connect, WebSocket, HTML) to port 8006 | 12 | # Everything else (Connect, WebSocket, HTML) to port 8007 |
| 13 | reverse_proxy localhost:8006 { | 13 | reverse_proxy localhost:8007 { |
| 14 | # Enable WebSocket support | 14 | # Enable WebSocket support |
| 15 | header_up Upgrade {http.request.header.Upgrade} | 15 | header_up Upgrade {http.request.header.Upgrade} |
| 16 | header_up Connection {http.request.header.Connection} | 16 | header_up Connection {http.request.header.Connection} |
| 17 | } | 17 | } |
| 18 | } | 18 | } |
| 19 | |||
