From c76989806753154a1e03f7610e5cf4ea2bdb8c33 Mon Sep 17 00:00:00 2001 From: Tommy Date: Fri, 8 Sep 2023 17:49:22 -0700 Subject: [PATCH] Update element.conf Signed-off-by: Tommy --- etc/nginx/conf.d/element.conf | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) diff --git a/etc/nginx/conf.d/element.conf b/etc/nginx/conf.d/element.conf index df1229f..84c5252 100644 --- a/etc/nginx/conf.d/element.conf +++ b/etc/nginx/conf.d/element.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 'self' https://arcticfoxes.net https://matrix.arcticfoxes.net; font-src 'self'; img-src 'self' https://arcticfoxes.net https://matrix.arcticfoxes.net blob: data:; manifest-src 'self'; media-src 'self' https://matrix.arcticfoxes.net blob:; script-src 'self' 'unsafe-eval' https://www.recaptcha.net https://www.gstatic.com; style-src 'self' 'unsafe-inline'; frame-src 'self' https://www.recaptcha.net blob:; frame-ancestors '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 81; - 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:81; } }