Forgot to add CSP and Gzip

This commit is contained in:
Selfhost Root 2023-03-31 01:14:00 -03:00
parent 4a5c1e3b70
commit 3da027cd4f
1 changed files with 5 additions and 0 deletions

View File

@ -5,6 +5,8 @@ server {
access_log /dev/null;
error_log /dev/null;
# Common shit
include configs/general.conf;
server_name matrix.zzls.xyz;
@ -30,6 +32,9 @@ error_log /dev/null;
# SecHeaders
include configs/securityheaders.conf;
# CSP (From tchncs.de because i am illiterate at CSP)
add_header Content-Security-Policy "default-src 'self' zzls.xyz matrix.zzls.xyz";
client_max_body_size 65M;
listen 443 http3;