From c040b02d7d0a5782f47bc9b570e38424bd616ac1 Mon Sep 17 00:00:00 2001 From: Isaac Shoebottom Date: Fri, 10 Mar 2023 18:49:16 -0400 Subject: [PATCH] Add conduit --- conduit.conf | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 conduit.conf diff --git a/conduit.conf b/conduit.conf new file mode 100644 index 0000000..9180d65 --- /dev/null +++ b/conduit.conf @@ -0,0 +1,17 @@ +server { + listen 443 ssl http2; + listen [::]:443 ssl http2; + listen 8448 ssl http2; + listen [::]:8448 ssl http2; + server_name matrix.shoebottom.ca; # EDIT THIS + merge_slashes off; + + # Nginx defaults to only allow 1MB uploads + client_max_body_size 20M; + + location /_matrix/ { + proxy_pass http://127.0.0.1:6167$request_uri; + proxy_set_header Host $http_host; + proxy_buffering off; + } +}