Skip to content
Snippets Groups Projects
Commit f4ade9c1 authored by nimrod's avatar nimrod
Browse files

Web proxy: Matrix server config.

parent bbc33028
No related branches found
No related tags found
No related merge requests found
# vim: ft=nginx
map $host $matrix { default synapse; }
server {
listen 80;
listen [::]:80;
server_name matrix.shore.co.il;
include snippets/robots-disallow-all.conf;
include snippets/ads-txt.conf;
include snippets/security-txt.conf;
include snippets/www-acme-challenge.conf;
include snippets/redirect-https.conf;
}
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name matrix.shore.co.il;
include snippets/robots-disallow-all.conf;
include snippets/ads-txt.conf;
include snippets/security-txt.conf;
include snippets/ssl-modern.conf;
location / {
proxy_pass http://$matrix:8008$request_uri;
proxy_http_version 1.1;
include snippets/proxy-headers.conf;
client_max_body_size 50m;
}
}
......@@ -15,6 +15,7 @@ services:
- git.shore.co.il
- kibana.shore.co.il
- lam.shore.co.il
- matrix.shore.co.il
- mta-sts.shore.co.il
- sogo.shore.co.il
- vouch.shore.co.il
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment