Skip to content

Commit 79f4b5f

Browse files
authored
quickfix: include scheme in csp policy (#3040)
quick follow-up to #3039 - need to include scheme in csp policy for localhost
1 parent 72e6332 commit 79f4b5f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/frontend.conf.template

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -151,7 +151,7 @@ server {
151151
proxy_pass http://browser-$browserid.browser$fqdn_suffix:9223/vnc/;
152152
proxy_set_header Host "localhost";
153153

154-
add_header Content-Security-Policy "frame-ancestors 'self' localhost:*";
154+
add_header Content-Security-Policy "frame-ancestors 'self' http://localhost:*";
155155
}
156156

157157
location = /access_check_profiles {

0 commit comments

Comments
 (0)