Skip to content

Commit 2674764

Browse files
committed
fix: change khatru pyramid port to not conflict with wot relay
1 parent 6a86fe7 commit 2674764

File tree

3 files changed

+3
-2
lines changed

3 files changed

+3
-2
lines changed

pkg/relays/khatru_pyramid/nginx_http.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ func ConfigureNginxHttp(domainName string) {
2323
}
2424
2525
upstream websocket_khatru_pyramid {
26-
server 0.0.0.0:3334;
26+
server 0.0.0.0:3335;
2727
}
2828
2929
# %s

pkg/relays/khatru_pyramid/nginx_https.go

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ func ConfigureNginxHttps(domainName string) {
2626
}
2727
2828
upstream websocket_khatru_pyramid {
29-
server 0.0.0.0:3334;
29+
server 0.0.0.0:3335;
3030
}
3131
3232
server {

pkg/relays/khatru_pyramid/service.go

+1
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import (
1212
func SetupRelayService(domain, pubKey string) {
1313
// Template for the environment file
1414
const envTemplate = `DOMAIN="{{.Domain}}"
15+
PORT="3335"
1516
DATABASE_PATH="/var/lib/khatru-pyramid/db"
1617
USERDATA_PATH="/var/lib/khatru-pyramid/users.json"
1718
MAX_INVITES_PER_PERSON="3"

0 commit comments

Comments
 (0)