guilieb.httpd
ansible-role-httpd
: HTTPdサーバーのインストール
このAnsibleロールは、RHEL/CentOSにApache HTTPd HTTPサーバーをインストールすることを目的としています。
ロール変数
mod_headers
httpd_headers_xss_protection: "1; mode=block"
:X-XSS-Protection
ヘッダーを設定します。httpd_headers_x_content_type_options: "nosniff"
:X-Content-Type-Options
ヘッダーを設定します。httpd_headers_referer_policy: "strict-origin"
:Referrer-Policy
ヘッダーを設定します。httpd_headers_csp: ""
:Content-Security-Policy
ヘッダーを設定します。これはデフォルトでは未定義です。httpd_headers_xframe_options: "SAMEORIGIN"
:X-Frame-Options
ヘッダーを設定します。httpd_headers_feature_policy: ""
:Feature-Policy
ヘッダーを設定します。これはデフォルトでは未定義です。httpd_headers_hsts: "max-age=15552001; includeSubDomains;"
: HTTP Strict Transport Securityヘッダーを設定します。
mod_ssl
httpd_ssl_cipher_order: "on"
:SSLHonorCipherOrder
オプションを設定します。httpd_ssl_protocol
:SSLProtocol
オプションを設定します。httpd_ssl_cipher_suite
:SSLCipherSuite
オプションを設定します。httpd_ssl_compression: "off"
:SSLCompression
オプションを設定します。httpd_ssl_session_tickets: "off"
:SSLSessionTickets
オプションを設定します。
詳細については、HTTPdのTLS暗号化に関するドキュメントを参照し、Mozilla SSL設定ジェネレーターもチェックしてください。
mod_security
httpd_security_server_tokens: "Prod"
:ServerTokens
オプションを設定します。httpd_security_signature: "Off"
:ServerSignature
オプションを設定します。httpd_security_secserver_signature: ""
:security2_module
内のSecServerSignature
を設定します。
インストール
ansible-galaxy install guilieb.httpd
ライセンス
gpl-3.0
ダウンロード
101
所有者
Software Engineer & Data Scientist @ MAIF