Allow inline scripts for Gitea to render heatmaps and extra stuff

This commit is contained in:
caskd 2019-08-06 00:43:45 +02:00
parent 3b8f4346be
commit 5ca40acfd2
No known key found for this signature in database
GPG Key ID: 4D0C454CCA5DF3B6
1 changed files with 1 additions and 1 deletions

View File

@ -105,7 +105,7 @@ backend grafana
backend webgit
server webgit-docker git_gitea:3000 check
option httpchk HEAD / HTTP/1.1\r\nHost:\ webgit.redxen.eu
http-response set-header Content-Security-Policy default-src\ \'self\';connect-src\ https:\ \'self\';font-src\ https:\ data:\ \'self\';script-src\ \'unsafe-inline\'\ \'self\';style-src\ \'self\'\ \'unsafe-inline\';media-src\ https:\ \'self\';img-src\ https:\ blob:\ data:\ \'self\';frame-src\ \'self\';object-src\ \'none\';block-all-mixed-content;upgrade-insecure-requests
http-response set-header Content-Security-Policy default-src\ \'self\';connect-src\ https:\ \'self\';font-src\ https:\ data:\ \'self\';script-src\ \'unsafe-inline\'\ \'unsafe-eval\'\ \'self\';style-src\ \'self\'\ \'unsafe-inline\';media-src\ https:\ \'self\';img-src\ https:\ blob:\ data:\ \'self\';frame-src\ \'self\';object-src\ \'none\';block-all-mixed-content;upgrade-insecure-requests
backend transmission
server transmission-docker seedbox_transmission:9091 check