Merge branch 'master' of git.envs.net:envs/ops

This commit is contained in:
creme 2020-02-18 22:59:34 +01:00
commit 016f63447d
Signed by: creme
GPG Key ID: C147C3B7FBDF08D0
2 changed files with 22 additions and 0 deletions

View File

@ -86,6 +86,17 @@ server {
proxy_pass https://matrix.envs.net;
}
# maubot logs
location /_matrix/maubot/v1/logs {
include proxy_params;
proxy_ssl_name $http_host;
proxy_ssl_server_name on;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_pass https://matrix.envs.net;
}
# users
location ~ ^/(~|u/)(?<user>[\w-]+)(?<user_uri>/.*)?$ {
alias /home/$user/public_html$user_uri;

View File

@ -24,6 +24,17 @@ server {
proxy_ssl_server_name on;
proxy_pass https://matrix.envs.net;
}
# maubot log
location /_matrix/maubot/v1/logs {
include proxy_params;
proxy_ssl_name $http_host;
proxy_ssl_server_name on;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection "Upgrade";
proxy_pass https://matrix.envs.net/_matrix/maubot/v1/logs;
}
}