summaryrefslogtreecommitdiff
path: root/images/router/nginx/http.off/matrix
blob: 33185fd731d69fcfc61b7ef7b5a7a4fa56c5d2cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
server {
  listen 443 ssl http2;
  listen [::]:443 ssl http2;

  server_name m.*;

  include snippets/ssl;
  include snippets/wellknown;

  location /_matrix {
    proxy_pass http://matrix:8008;
    proxy_set_header X-Forwarded-For $remote_addr;
  }
}