Add conduit

This commit is contained in:
Isaac Shoebottom 2023-03-10 18:49:16 -04:00
parent be5c3aad1b
commit c040b02d7d

17
conduit.conf Normal file
View File

@ -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;
}
}