Skip to content

Commit 3beffa9

Browse files
feat: fix nginx plausible redirect
1 parent 0219f6d commit 3beffa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

nginx/default.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ http {
3737
add_header X-Content-Type-Options "nosniff" always;
3838
add_header X-XSS-Protection "1; mode=block" always;
3939
add_header Referrer-Policy "no-referrer-when-downgrade" always;
40-
add_header Content-Security-Policy "default-src 'self'; img-src 'self' https://cdn.simpleicons.org; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'" always;
40+
add_header Content-Security-Policy "default-src 'self'; connect-src 'self' https://plausible.io; img-src 'self' https://cdn.simpleicons.org; script-src 'self' 'unsafe-inline' 'unsafe-eval'; style-src 'self' 'unsafe-inline'" always;
4141

4242
location / {
4343
try_files $uri $uri/ /index.html;

0 commit comments

Comments
 (0)