Adding HTTP Headers

Angelfish uses an embedded, proprietary web server.  One of the ways to configure this web server is by adding HTTP Headers.

HTTP Headers can be added to the "headers.txt" file in the inc directory, under the Angelfish installation directory.

The default values in this file are:

X-UA-Compatible: IE=edge
X-Content-Type-Options: nosniff
X-XSS-Protection: 1
X-Frame-Options: deny

The header values listed this file override any default header values for the Angelfish server.  Be extremely careful when adding anything to this file.

To enable the header file (it's enabled by default), update the use_header_file variable in agf.conf to:

use_header_file = 1

You must restart Angelfish to apply any changes made to agf.conf

Creation date: 4/18/2022 10:48 PM      Updated: 5/21/2022 5:58 PM