1
0
mirror of https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS synced 2024-12-21 23:31:34 -05:00

Update matrix-to.conf

Signed-off-by: Tommy <contact@tommytran.io>
This commit is contained in:
Tommy 2023-09-08 17:54:32 -07:00 committed by GitHub
parent 4184cc9ce8
commit 490b5bb64a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8,17 +8,9 @@ server {
include /etc/nginx/proxy.conf; include /etc/nginx/proxy.conf;
include /etc/nginx/headers.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'"; 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 / { location / {
set $upstream_app 127.0.0.1; proxy_pass http://127.0.0.1:5000;
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;
} }
} }