This article provides the information to modify your pre-start.in file to include an 'add content-security-policy' response header.
Using this response header is REQUIRED in the event you meet ALL of the criteria below:
- load balancing qTest Sessions 4.2.8
- using F5 Load Balancer
- using Internet Explorer to access qTest Sessions
After installing or upgrading the Sessions application node, you should modify the pre-start.in file to include the response header seen below in the screenshot. This step is necessary for each Sessions 4.2.8 application node you install/upgrade.
Modify pre-start.in File
- You need to modify the pre-start.in file manually using the code below:
Content-Security-Policy\\\",\\ \"value\\\":\\\"default-src * 'unsafe-eval' 'unsafe-inline';font-src * data:;img-src * blob: data:;object-src * \\\"}]"
- Append this line to put "$app" 'envs' ... section. Save.
-e RESPONSE_HEADERS=\"$param\" \your pre-start.in now looks like below, note the added codes are highlighted
- Resume Configuration for Sessions 4.2.8 Load Balance Configuration here for new installs and here for upgrades.