Forgot to add CSP and Gzip
This commit is contained in:
parent
4a5c1e3b70
commit
3da027cd4f
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue