mirror of https://git.envs.net/envs/ops.git
Merge branch 'master' of git.envs.net:envs/ops
This commit is contained in:
commit
016f63447d
|
@ -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;
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue