mirror of
https://github.com/element-hq/element-docker-demo.git
synced 2026-01-24 22:26:13 +03:00
s/matrix-authentication-service/mas/g'
This commit is contained in:
@@ -189,7 +189,7 @@ services:
|
|||||||
depends_on:
|
depends_on:
|
||||||
- synapse
|
- synapse
|
||||||
|
|
||||||
matrix-authentication-service:
|
mas:
|
||||||
image: ghcr.io/element-hq/matrix-authentication-service:latest
|
image: ghcr.io/element-hq/matrix-authentication-service:latest
|
||||||
restart: unless-stopped
|
restart: unless-stopped
|
||||||
# ports:
|
# ports:
|
||||||
|
|||||||
@@ -47,7 +47,7 @@ server {
|
|||||||
include /etc/nginx/conf.d/include/ssl.conf;
|
include /etc/nginx/conf.d/include/ssl.conf;
|
||||||
|
|
||||||
location / {
|
location / {
|
||||||
proxy_pass http://matrix-authentication-service:8080;
|
proxy_pass http://mas:8080;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@@ -62,7 +62,7 @@ server {
|
|||||||
listen [::]:8448 ssl default_server;
|
listen [::]:8448 ssl default_server;
|
||||||
|
|
||||||
# pass auth to MAS
|
# pass auth to MAS
|
||||||
location ~ ^/_matrix/client/(.*)/(login|logout|refresh) { proxy_pass http://matrix-authentication-service:8080; }
|
location ~ ^/_matrix/client/(.*)/(login|logout|refresh) { proxy_pass http://mas:8080; }
|
||||||
|
|
||||||
# use the generic worker as a synchrotron:
|
# use the generic worker as a synchrotron:
|
||||||
# taken from https://element-hq.github.io/synapse/latest/workers.html#synapseappgeneric_worker
|
# taken from https://element-hq.github.io/synapse/latest/workers.html#synapseappgeneric_worker
|
||||||
|
|||||||
@@ -95,7 +95,7 @@ email:
|
|||||||
experimental_features:
|
experimental_features:
|
||||||
msc3861: # OIDC
|
msc3861: # OIDC
|
||||||
enabled: true
|
enabled: true
|
||||||
issuer: http://matrix-authentication-service:8080/
|
issuer: http://mas:8080/
|
||||||
client_id: ${MAS_CLIENT_ID}
|
client_id: ${MAS_CLIENT_ID}
|
||||||
client_auth_method: client_secret_basic
|
client_auth_method: client_secret_basic
|
||||||
client_secret: '${SECRETS_MAS_CLIENT_SECRET}'
|
client_secret: '${SECRETS_MAS_CLIENT_SECRET}'
|
||||||
|
|||||||
Reference in New Issue
Block a user