Page 1 of 1
Access Server HTTP Headers?
Posted: Thu May 11, 2023 2:09 am
by michael.speth
Is it possible to add HTTP headers to the Access Server?
For instance, I would like to add the Content-Security-Policy header due to security requirements.
Re: Access Server HTTP Headers?
Posted: Tue May 16, 2023 10:56 am
by openvpn_inc
Hello michael.speth,
Yes, see documentation here:
https://openvpn.net/vpn-server-resource ... tp-headers
Code: Select all
cd /usr/local/openvpn_as/scripts/
./sacli --key "cs.http_headers.1" --value "Content-Security-Policy: blablawhatever" ConfigPut
./sacli start
Good luck,
Johan
Re: Access Server HTTP Headers?
Posted: Wed May 24, 2023 9:28 pm
by michael.speth