forked from colin/resume
2
0
Fork 0

Update docker/resume/nginx.conf

This commit is contained in:
colin 2024-11-11 10:08:51 -05:00
parent 0b59741137
commit 18f5065b42
1 changed files with 2 additions and 2 deletions

View File

@ -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;