From 490b5bb64abb26db399fe472688b060cd5ef2333 Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 8 Sep 2023 17:54:32 -0700 Subject: [PATCH] Update matrix-to.conf Signed-off-by: Tommy --- etc/nginx/conf.d/matrix-to.conf | 12 ++---------- 1 file changed, 2 insertions(+), 10 deletions(-) diff --git a/etc/nginx/conf.d/matrix-to.conf b/etc/nginx/conf.d/matrix-to.conf index bc1844f..570912b 100644 --- a/etc/nginx/conf.d/matrix-to.conf +++ b/etc/nginx/conf.d/matrix-to.conf @@ -8,17 +8,9 @@ server { include /etc/nginx/proxy.conf; include /etc/nginx/headers.conf; add_header Content-Security-Policy "default-src 'none'; connect-src *; img-src *; script-src 'self' 'unsafe-inline'; style-src 'self', upgrade-insecure-requests; block-all-mixed-content; base-uri 'none'"; - - client_max_body_size 0; location / { - set $upstream_app 127.0.0.1; - set $upstream_port 5000; - set $upstream_proto http; - proxy_pass $upstream_proto://$upstream_app:$upstream_port; - - proxy_set_header Range $http_range; - proxy_set_header If-Range $http_if_range; + proxy_pass http://127.0.0.1:5000; } -} \ No newline at end of file +}