To add the X-Clacks-Overhead
header in Nginx, the add_header
directive in the Nginx configuration file can be used.
http
block:
add_header X-Clacks-Overhead "GNU Robbert Muller";
service nginx reload
, nginx -s reload
, systemctl reload nginx
, or similar command.At this point the header should be added to all responses served by Nginx. To check, see the "How to verify" page.