Compare commits

..

No commits in common. "9b4232d01a82085bffaedfd512e028eecfed2bb4" and "6bc0475e8916b360e1f39f28f1eedcd0148298e9" have entirely different histories.

8 changed files with 12 additions and 23 deletions

View File

@ -0,0 +1 @@
../../.certs/acme.sh/dustin.hatch.name/fullchain.cer

View File

@ -0,0 +1 @@
../../.certs/acme.sh/dustin.hatch.name/dustin.hatch.name.key

View File

@ -1,7 +1,6 @@
apache_mpm: event apache_mpm: event
apache_keep_num_logs: 4 apache_keep_num_logs: 4
apache_max_log_size: 256M apache_max_log_size: 256M
apache_error_log: syslog:daemon
apache_ssl_protocol: apache_ssl_protocol:
- all - all
- '-SSLv2' - '-SSLv2'

View File

@ -5,16 +5,6 @@
tags: tags:
- install - install
- name: ensure global error log is configured
template:
src: errorlog.j2
dest: /etc/httpd/conf.d/00-errorlog.conf
owner: root
group: root
mode: u=rw,go=r
tags:
- apache-config
- name: ensure http service keytab is in place - name: ensure http service keytab is in place
copy: copy:
src={{ item }} src={{ item }}

View File

@ -1,5 +0,0 @@
{% if apache_error_log %}
ErrorLog {{ apache_error_log }}
{% else %}
# Use the default ErrorLog value set in httpd.conf
{% endif %}

View File

@ -1,11 +1,7 @@
# Use separate log files for the SSL virtual host; note that LogLevel # Use separate log files for the SSL virtual host; note that LogLevel
# is not inherited from httpd.conf. # is not inherited from httpd.conf.
{% if apache_ssl_error_log is defined %} ErrorLog logs/ssl_error_log
ErrorLog {{ apache_ssl_error_log }} TransferLog logs/ssl_access_log
{% endif %}
{% if apache_ssl_transferlog is defined %}
TransferLog {{ apache_ssl_transferlog }}
{% endif %}
LogLevel warn LogLevel warn
# SSL Engine Switch: # SSL Engine Switch:

View File

@ -1,5 +1,4 @@
# vim: set ft=apache : # vim: set ft=apache :
MDomain dustin.hatch.name
<VirtualHost _default_:80> <VirtualHost _default_:80>
ServerName dustin.hatch.name ServerName dustin.hatch.name
@ -12,6 +11,8 @@ RewriteRule (.*) https://%{SERVER_NAME}$1 [R=301,L]
ServerName dustin.hatch.name ServerName dustin.hatch.name
Include conf.d/ssl.include Include conf.d/ssl.include
SSLCertificateKeyFile /etc/pki/tls/private/dustin.hatch.name.key
SSLCertificateFile /etc/pki/tls/certs/dustin.hatch.name.cer
<IfModule mod_headers.c> <IfModule mod_headers.c>
Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains" Header always set Strict-Transport-Security "max-age=63072000; includeSubDomains"

View File

@ -10,6 +10,12 @@
tags: formsubmit tags: formsubmit
- role: websites/pyrocufflink.net - role: websites/pyrocufflink.net
tags: websites/pyrocufflink.net tags: websites/pyrocufflink.net
- role: cert
cert_src: websites/dustin.hatch.name.cer
cert_dest: /etc/pki/tls/certs/dustin.hatch.name.cer
cert_key_src: websites/dustin.hatch.name.key
cert_key_dest: /etc/pki/tls/private/dustin.hatch.name.key
tags: websites/dustin.hatch.name
- role: websites/dustin.hatch.name - role: websites/dustin.hatch.name
tags: websites/dustin.hatch.name tags: websites/dustin.hatch.name
- role: websites/ebonfire.com - role: websites/ebonfire.com