From 6d4efba4f343e6b394676ad20c0ac292ba974763 Mon Sep 17 00:00:00 2001 From: bndw Date: Sat, 14 Feb 2026 11:40:59 -0800 Subject: update deploy artifacts --- .ship/Caddyfile | 7 ++++--- .ship/service | 10 +++++----- 2 files changed, 9 insertions(+), 8 deletions(-) (limited to '.ship') diff --git a/.ship/Caddyfile b/.ship/Caddyfile index 88ed6d3..572e43d 100644 --- a/.ship/Caddyfile +++ b/.ship/Caddyfile @@ -1,4 +1,4 @@ -nostr-grpc.x.bdw.to { +muxstr.x.bdw.to { # Route native gRPC to port 50051 @grpc { header Content-Type application/grpc* @@ -9,10 +9,11 @@ nostr-grpc.x.bdw.to { } } - # Everything else (Connect, WebSocket, HTML) to port 8006 - reverse_proxy localhost:8006 { + # Everything else (Connect, WebSocket, HTML) to port 8007 + reverse_proxy localhost:8007 { # Enable WebSocket support header_up Upgrade {http.request.header.Upgrade} header_up Connection {http.request.header.Connection} } } + diff --git a/.ship/service b/.ship/service index 9305ef4..a8e30de 100644 --- a/.ship/service +++ b/.ship/service @@ -1,13 +1,13 @@ [Unit] -Description=nostr-grpc +Description=muxstr After=network.target [Service] Type=simple -User=nostr-grpc -WorkingDirectory=/var/lib/nostr-grpc -EnvironmentFile=/etc/ship/env/nostr-grpc.env -ExecStart=/usr/local/bin/nostr-grpc -db relay.db -grpc-addr localhost:50051 -ws-addr localhost:8006 -public-url nostr-grpc.x.bdw.to +User=muxstr +WorkingDirectory=/var/lib/muxstr +EnvironmentFile=/etc/ship/env/muxstr.env +ExecStart=/usr/local/bin/muxstr -db relay.db -grpc-addr localhost:50051 -ws-addr localhost:8007 -public-url muxstr.x.bdw.to Restart=always RestartSec=5s NoNewPrivileges=true -- cgit v1.2.3