Update docker/resume/nginx.conf
ci/woodpecker/push/woodpecker Pipeline was successful
Details
ci/woodpecker/push/woodpecker Pipeline was successful
Details
This commit is contained in:
parent
0b59741137
commit
18f5065b42
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue