feat: delegation
This commit is contained in:
parent
cdeb8a8409
commit
f03984f9d0
@ -90,3 +90,5 @@ password_config:
|
|||||||
enabled: true
|
enabled: true
|
||||||
|
|
||||||
encryption_enabled_by_default_for_room_type: "all"
|
encryption_enabled_by_default_for_room_type: "all"
|
||||||
|
|
||||||
|
serve_server_wellknown: true
|
||||||
|
@ -15,8 +15,15 @@ spec:
|
|||||||
- host: gmoker.com
|
- host: gmoker.com
|
||||||
http:
|
http:
|
||||||
paths:
|
paths:
|
||||||
- path: /.well-known/matrix/
|
- path: /.well-known/matrix/server
|
||||||
pathType: Prefix
|
pathType: Exact
|
||||||
|
backend:
|
||||||
|
service:
|
||||||
|
name: app
|
||||||
|
port:
|
||||||
|
name: http
|
||||||
|
- path: /.well-known/matrix/client
|
||||||
|
pathType: Exact
|
||||||
backend:
|
backend:
|
||||||
service:
|
service:
|
||||||
name: delegation
|
name: delegation
|
||||||
@ -45,13 +52,7 @@ data:
|
|||||||
default.conf: |
|
default.conf: |
|
||||||
server {
|
server {
|
||||||
listen 80;
|
listen 80;
|
||||||
location / {
|
|
||||||
return 200;
|
|
||||||
}
|
|
||||||
location /.well-known/matrix/server {
|
|
||||||
default_type application/json;
|
|
||||||
return 200 '{"m.server": "$BASE_URL:443"}';
|
|
||||||
}
|
|
||||||
location /.well-known/matrix/client {
|
location /.well-known/matrix/client {
|
||||||
default_type application/json;
|
default_type application/json;
|
||||||
return 200 '{"m.homeserver": { "base_url": "https://$BASE_URL" }}';
|
return 200 '{"m.homeserver": { "base_url": "https://$BASE_URL" }}';
|
||||||
@ -82,7 +83,7 @@ spec:
|
|||||||
containerPort: 80
|
containerPort: 80
|
||||||
volumeMounts:
|
volumeMounts:
|
||||||
- name: delegation
|
- name: delegation
|
||||||
mountPath: /etc/nginx/conf.d
|
mountPath: /etc/nginx/conf.d/
|
||||||
readOnly: true
|
readOnly: true
|
||||||
volumes:
|
volumes:
|
||||||
- name: delegation
|
- name: delegation
|
||||||
|
Loading…
Reference in New Issue
Block a user