mirror of https://git.envs.net/envs/ops.git
nginx: fix location ~ ^/_matrix(/media|/maubot)
Signed-off-by: creme <creme@envs.net>
This commit is contained in:
parent
7764a06274
commit
af4db231ac
|
@ -85,7 +85,7 @@ server {
|
|||
return 200 '{"m.homeserver": {"base_url": "https://matrix.envs.net"}, "m.integrations": {"managers": [{"ui_url": "https://dimension.envs.net/riot", "api_url": "https://dimension.envs.net/api/v1/scalar"}, {"ui_url": "https://scalar.vector.im/", "api_url": "https://scalar.vector.im/api"}]}, "m.integrations_widget": {"url": "https://dimension.envs.net/riot", "data": {"api_url": "https://dimension.envs.net/api/v1/scalar"}}, "m.tile_server": {"map_style_url": "https://api.maptiler.com/maps/streets/style.json?key=jrKVgM1ozvdgREfvtZ8X"}}';
|
||||
}
|
||||
|
||||
location ~ ^(/_matrix|/media|/maubot) {
|
||||
location ~ ^/_matrix(/media|/maubot) {
|
||||
include proxy_params;
|
||||
proxy_ssl_name $http_host;
|
||||
proxy_ssl_server_name on;
|
||||
|
|
Loading…
Reference in New Issue