config fix
This commit is contained in:
parent
928e3ae04c
commit
882a417527
1 changed files with 2 additions and 13 deletions
|
@ -21,19 +21,8 @@ server {
|
|||
limit_req zone=general burst=100 nodelay;
|
||||
|
||||
# Content Security Policy (needs to be per-domain)
|
||||
add_header Content-Security-Policy "
|
||||
default-src 'self' *.$DOMAIN;
|
||||
script-src 'self' 'unsafe-inline' 'unsafe-eval' *.$DOMAIN;
|
||||
style-src 'self' 'unsafe-inline' *.$DOMAIN;
|
||||
img-src 'self' data: *.$DOMAIN;
|
||||
font-src 'self' data: *.$DOMAIN;
|
||||
connect-src 'self' *.$DOMAIN;
|
||||
frame-src 'self' *.$DOMAIN;
|
||||
media-src 'self' *.$DOMAIN;
|
||||
object-src 'none';
|
||||
base-uri 'self';
|
||||
form-action 'self' *.$DOMAIN;
|
||||
" always;
|
||||
add_header Content-Security-Policy "default-src 'self' *.$DOMAIN; script-src 'self' 'unsafe-inline' 'unsafe-eval' *.$DOMAIN; style-src 'self' 'unsafe-inline' *.$DOMAIN; img-src 'self' data: *.$DOMAIN; font-src 'self' data: *.$DOMAIN; connect-src 'self' *.$DOMAIN; frame-src 'self' *.$DOMAIN; media-src 'self' *.$DOMAIN; object-src 'none'; base-uri 'self'; form-action 'self' *.$DOMAIN" always;
|
||||
|
||||
|
||||
# Subdomain handling
|
||||
set $subdomain '';
|
||||
|
|
Loading…
Reference in a new issue