2022-07-25 10:55:46 +00:00
|
|
|
server {
|
2022-07-26 11:37:37 +00:00
|
|
|
listen 443 ssl http2;
|
|
|
|
listen [::]:443 ssl http2;
|
2022-07-25 10:55:46 +00:00
|
|
|
|
2022-07-26 11:37:37 +00:00
|
|
|
include snippets/lets-encrypt.conf;
|
2022-07-25 10:55:46 +00:00
|
|
|
|
2022-07-26 11:37:37 +00:00
|
|
|
server_name mau.vern.cc;
|
2022-07-25 10:55:46 +00:00
|
|
|
|
2022-07-26 11:37:37 +00:00
|
|
|
location /_matrix/maubot/v1/logs {
|
|
|
|
proxy_pass http://localhost:29316;
|
|
|
|
proxy_http_version 1.1;
|
|
|
|
proxy_set_header Upgrade $http_upgrade;
|
|
|
|
proxy_set_header Connection "Upgrade";
|
|
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
|
}
|
|
|
|
location /_matrix/maubot {
|
|
|
|
proxy_pass http://localhost:29316;
|
|
|
|
proxy_set_header X-Forwarded-For $remote_addr;
|
|
|
|
}
|
2022-07-25 10:55:46 +00:00
|
|
|
}
|