Skip to content

Commit 61eac82

Browse files
author
thom
committed
Add CSP for /stats
1 parent 5bbacaa commit 61eac82

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

server/conf/nginx_vhost.conf.master

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -168,6 +168,7 @@ server {
168168
index index.html index.php;
169169
auth_basic "Members Only";
170170
auth_basic_user_file <tmpl_var name='stats_auth_passwd_file'>;
171+
add_header Content-Security-Policy "default-src * 'self' 'unsafe-inline';";
171172
}
172173

173174
location ^~ /awstats-icon {

0 commit comments

Comments
 (0)