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.
Access Server HTTP Headers?
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu May 11, 2023 1:51 am
- openvpn_inc
- OpenVPN Inc.
- Posts: 1332
- Joined: Tue Feb 16, 2021 10:41 am
Re: Access Server HTTP Headers?
Hello michael.speth,
Yes, see documentation here:
https://openvpn.net/vpn-server-resource ... tp-headers
Good luck,
Johan
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
Johan
OpenVPN Inc.
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support
Answers provided by OpenVPN Inc. staff members here are provided on a voluntary best-effort basis, and no rights can be claimed on the basis of answers posted in this public forum. If you wish to get official support from OpenVPN Inc. please use the official support ticket system: https://openvpn.net/support
-
- OpenVpn Newbie
- Posts: 2
- Joined: Thu May 11, 2023 1:51 am
Re: Access Server HTTP Headers?
Thank you!openvpn_inc wrote: ↑Tue May 16, 2023 10:56 amYes, 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