synapse: Use regex for mas-proxied paths
This commit is contained in:
@@ -43,17 +43,7 @@
|
|||||||
service_container_http_port: 8008
|
service_container_http_port: 8008
|
||||||
service_domains: "{{ [synapse_external_domain] }}"
|
service_domains: "{{ [synapse_external_domain] }}"
|
||||||
service_vhost_locations:
|
service_vhost_locations:
|
||||||
- path: /_matrix/client/*/login
|
- path: ^/_matrix/client/.*/(login|logout|refresh).*$
|
||||||
proxy_target_socket: /run/matrix-authentication-service-socat.sock
|
|
||||||
- path: /_matrix/client/*/logout
|
|
||||||
proxy_target_socket: /run/matrix-authentication-service-socat.sock
|
|
||||||
- path: /_matrix/client/*/refresh
|
|
||||||
proxy_target_socket: /run/matrix-authentication-service-socat.sock
|
|
||||||
- path: /_matrix/client/*/login/*
|
|
||||||
proxy_target_socket: /run/matrix-authentication-service-socat.sock
|
|
||||||
- path: /_matrix/client/*/logout/*
|
|
||||||
proxy_target_socket: /run/matrix-authentication-service-socat.sock
|
|
||||||
- path: /_matrix/client/*/refresh/*
|
|
||||||
proxy_target_socket: /run/matrix-authentication-service-socat.sock
|
proxy_target_socket: /run/matrix-authentication-service-socat.sock
|
||||||
service_wants:
|
service_wants:
|
||||||
- matrix-authentication-service.service
|
- matrix-authentication-service.service
|
||||||
|
|||||||
Reference in New Issue
Block a user