feat: PUBLIC_URL
This commit is contained in:
parent
f03984f9d0
commit
a487a22ee5
1
.env
1
.env
@ -1,4 +1,5 @@
|
||||
PROD_URL=matrix.gmoker.com
|
||||
PUBLIC_URL=gmoker.com
|
||||
IMAGEAPP=ghcr.io/element-hq/synapse:v1.106.0
|
||||
|
||||
TURN_URL=turn.test.gmoker.com
|
||||
|
@ -15,6 +15,7 @@ jobs:
|
||||
fi
|
||||
cat <<EOF >> .env
|
||||
BASE_URL="$BASE_URL"
|
||||
PUBLIC_URL="${PUBLIC_URL:-$BASE_URL}"
|
||||
EOF
|
||||
cat .env
|
||||
|
||||
|
@ -1,4 +1,5 @@
|
||||
server_name: "$BASE_URL"
|
||||
public_baseurl: "$PUBLIC_URL"
|
||||
pid_file: /homeserver.pid
|
||||
web_client: false
|
||||
soft_file_limit: 0
|
||||
|
@ -10,9 +10,9 @@ spec:
|
||||
tls:
|
||||
- secretName: tls-delegation
|
||||
hosts:
|
||||
- gmoker.com
|
||||
- "$PUBLIC_URL"
|
||||
rules:
|
||||
- host: gmoker.com
|
||||
- host: "$PUBLIC_URL"
|
||||
http:
|
||||
paths:
|
||||
- path: /.well-known/matrix/server
|
||||
|
Loading…
Reference in New Issue
Block a user