1
0
mirror of https://github.com/ArcticFoxes-net/Synapse-Ubuntu-ZFS synced 2024-11-13 22:21:33 -05:00
Synapse-Ubuntu-ZFS/etc/nginx/conf.d/matrix-to.conf
Tommy 490b5bb64a
Update matrix-to.conf
Signed-off-by: Tommy <contact@tommytran.io>
2023-09-08 17:54:32 -07:00

17 lines
479 B
Plaintext

server {
listen 443 ssl;
listen [::]:443 ssl;
server_name invite.arcticfoxes.net;
include /etc/nginx/ssl.conf;
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'";
location / {
proxy_pass http://127.0.0.1:5000;
}
}