1
0
Fork 0
mirror of https://github.com/YunoHost-Apps/netdata_ynh.git synced 2024-09-03 19:46:33 +02:00

Allow inline script source

This commit is contained in:
Sandro Jäckel 2018-04-06 21:16:22 +02:00 committed by GitHub
parent 11d5064f3c
commit f606cd2826
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -15,6 +15,8 @@ location ~ __PATH__/(?<ndpath>.*) {
proxy_set_header Connection "keep-alive";
proxy_store off;
proxy_pass http://127.0.0.1:19999/$ndpath$is_args$args;
add_header Content-Security-Policy "upgrade-insecure-requests; object-src 'none'; script-src https: 'unsafe-eval' 'unsafe-inline'";
gzip on;
gzip_proxied any;