diff --git a/docker/resume/nginx.conf b/docker/resume/nginx.conf index 636b216..a2102d8 100644 --- a/docker/resume/nginx.conf +++ b/docker/resume/nginx.conf @@ -3,8 +3,8 @@ server { root /usr/share/nginx/html; index resume.html; - # Allow only matomo.nixc.us for content and tracking assets - add_header Content-Security-Policy "default-src 'self'; script-src 'self' matomo.nixc.us; img-src 'self' matomo.nixc.us; style-src 'self';"; + # Allow only self and matomo.nixc.us for tracking assets + add_header Content-Security-Policy "default-src 'self'; script-src 'self' https://matomo.nixc.us; img-src 'self' https://matomo.nixc.us; style-src 'self' 'unsafe-inline';"; # Security Headers add_header X-Frame-Options "SAMEORIGIN" always;