This Ansible role aims at installing the Apache HTTPd HTTP server on RHEL/CentOS.
httpd_headers_xss_protection: "1; mode=block"
: sets theX-XSS-Protection
header.httpd_headers_x_content_type_options: "nosniff"
: sets theX-Content-Type-Options
header.httpd_headers_referer_policy: "strict-origin"
: sets theReferrer-Policy
header.httpd_headers_csp: ""
: sets theContent-Security-Policy
header. This is undefined by default.httpd_headers_xframe_options: "SAMEORIGIN"
: sets theX-Frame-Options
header.httpd_headers_feature_policy: ""
: sets theFeature-Policy
header. This is undefined by default.httpd_headers_hsts: "max-age=15552001; includeSubDomains;"
: sets the HTTP Strict Transport Security header.
httpd_ssl_cipher_order: "on"
: sets theSSLHonorCipherOrder
option.httpd_ssl_protocol
: sets theSSLProtocol
option.httpd_ssl_cipher_suite
: sets theSSLCipherSuite
option.httpd_ssl_compression: "off"
: sets theSSLCompression
option.httpd_ssl_session_tickets: "off"
: sets theSSLSessionTickets
option.
Please, refer to the HTTPd document on TLS encryption and take a look at the Mozilla SSL Configuration Generator.
httpd_security_server_tokens: "Prod"
: sets theServerTokens
option.httpd_security_signature: "Off"
: sets theServerSignature
option.httpd_security_secserver_signature: ""
: sets theSecServerSignature
within from thesecurity2_module
.