guilieb.httpd
ansible-role-httpd
: Installing the HTTPd Server
This Ansible role is designed to install the Apache HTTPd HTTP server on RHEL/CentOS systems.
Role Variables
mod_headers
httpd_headers_xss_protection: "1; mode=block"
: Sets theX-XSS-Protection
header for cross-site scripting protection.httpd_headers_x_content_type_options: "nosniff"
: Sets theX-Content-Type-Options
header to prevent MIME type sniffing.httpd_headers_referer_policy: "strict-origin"
: Sets theReferrer-Policy
header to control referrer information.httpd_headers_csp: ""
: Sets theContent-Security-Policy
header. This is unset by default.httpd_headers_xframe_options: "SAMEORIGIN"
: Sets theX-Frame-Options
header to prevent clickjacking.httpd_headers_feature_policy: ""
: Sets theFeature-Policy
header. This is unset by default.httpd_headers_hsts: "max-age=15552001; includeSubDomains;"
: Sets the HTTP Strict Transport Security (HSTS) header for better security.
mod_ssl
httpd_ssl_cipher_order: "on"
: Enables theSSLHonorCipherOrder
option for better security.httpd_ssl_protocol
: Sets theSSLProtocol
to determine which SSL/TLS protocols are used.httpd_ssl_cipher_suite
: Sets theSSLCipherSuite
to configure the cipher suites for SSL.httpd_ssl_compression: "off"
: Disables theSSLCompression
option to prevent CRIME attacks.httpd_ssl_session_tickets: "off"
: DisablesSSLSessionTickets
for better security.
Refer to the HTTPd document on TLS encryption and check out the Mozilla SSL Configuration Generator.
mod_security
httpd_security_server_tokens: "Prod"
: Sets theServerTokens
option to limit the information sent about the server.httpd_security_signature: "Off"
: Disables theServerSignature
option to hide server version details.httpd_security_secserver_signature: ""
: Sets theSecServerSignature
within thesecurity2_module
.
Installa
ansible-galaxy install guilieb.httpd
Licenza
gpl-3.0
Download
101
Proprietario
Software Engineer & Data Scientist @ MAIF