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

@ -16,6 +16,8 @@ location ~ __PATH__/(?<ndpath>.*) {
proxy_store off; proxy_store off;
proxy_pass http://127.0.0.1:19999/$ndpath$is_args$args; 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 on;
gzip_proxied any; gzip_proxied any;
gzip_types *; gzip_types *;