Compare commits
2 Commits
fb93598586
...
c11a792eb8
Author | SHA1 | Date |
---|---|---|
|
c11a792eb8 | |
|
524ac0931a |
|
@ -1,4 +1,6 @@
|
||||||
# vim: set ft=apache sw=4 ts=4 sts=4 et :
|
# vim: set ft=apache sw=4 ts=4 sts=4 et :
|
||||||
|
MDomain hatchlearningcenter.org
|
||||||
|
|
||||||
<VirtualHost *:80>
|
<VirtualHost *:80>
|
||||||
ServerName hatchlearningcenter.org
|
ServerName hatchlearningcenter.org
|
||||||
ServerAlias \
|
ServerAlias \
|
||||||
|
@ -21,6 +23,7 @@
|
||||||
<VirtualHost _default_:443>
|
<VirtualHost _default_:443>
|
||||||
ServerName hatchlearningcenter.org
|
ServerName hatchlearningcenter.org
|
||||||
ServerAlias \
|
ServerAlias \
|
||||||
|
www.hatchlearningcenter.org \
|
||||||
hatchlearningcenter.com \
|
hatchlearningcenter.com \
|
||||||
www.hatchlearningcenter.com \
|
www.hatchlearningcenter.com \
|
||||||
hlcks.org \
|
hlcks.org \
|
||||||
|
@ -34,31 +37,12 @@
|
||||||
|
|
||||||
Include conf.d/ssl.include
|
Include conf.d/ssl.include
|
||||||
|
|
||||||
SSLCertificateFile /etc/pki/tls/certs/hatchlearningcenter.org.cer
|
|
||||||
SSLCertificateKeyFile /etc/pki/tls/private/hatchlearningcenter.org.key
|
|
||||||
SSLCertificateChainFile /etc/pki/tls/certs/hatchlearningcenter.org.cer
|
|
||||||
|
|
||||||
Header always set \
|
Header always set \
|
||||||
Strict-Transport-Security "max-age=63072000; includeSubDomains"
|
Strict-Transport-Security "max-age=63072000; includeSubDomains"
|
||||||
|
|
||||||
RewriteEngine On
|
RewriteEngine On
|
||||||
|
RewriteCond %{SERVER_NAME} !^www\.hatchlearningcenter\.org$
|
||||||
RewriteRule /.* https://www.hatchlearningcenter.org$0 [R=301,L]
|
RewriteRule /.* https://www.hatchlearningcenter.org$0 [R=301,L]
|
||||||
</VirtualHost>
|
|
||||||
|
|
||||||
<VirtualHost _default_:443>
|
|
||||||
ServerName www.hatchlearningcenter.org
|
|
||||||
|
|
||||||
Include conf.d/ssl.include
|
|
||||||
|
|
||||||
SSLCertificateFile /etc/pki/tls/certs/hatchlearningcenter.org.cer
|
|
||||||
SSLCertificateKeyFile /etc/pki/tls/private/hatchlearningcenter.org.key
|
|
||||||
SSLCertificateChainFile /etc/pki/tls/certs/hatchlearningcenter.org.cer
|
|
||||||
|
|
||||||
Header always set \
|
|
||||||
Strict-Transport-Security "max-age=63072000; includeSubDomains"
|
|
||||||
|
|
||||||
SSLProxyEngine On
|
|
||||||
RewriteEngine On
|
|
||||||
|
|
||||||
DocumentRoot /srv/www/hatchlearningcenter.org/htdocs
|
DocumentRoot /srv/www/hatchlearningcenter.org/htdocs
|
||||||
<Directory /srv/www/hatchlearningcenter.org/htdocs>
|
<Directory /srv/www/hatchlearningcenter.org/htdocs>
|
||||||
|
|
|
@ -60,25 +60,3 @@
|
||||||
state: directory
|
state: directory
|
||||||
tags:
|
tags:
|
||||||
- datadir
|
- datadir
|
||||||
|
|
||||||
- name: ensure formsubmit is configured hatchlearningcenter.org attendance
|
|
||||||
copy:
|
|
||||||
content: '{{ hlc_formsubmit_attendance|to_nice_yaml(indent=2) }}'
|
|
||||||
dest: /etc/formsubmit/hlc-attendance.yml
|
|
||||||
mode: u=rw,go=r
|
|
||||||
tags:
|
|
||||||
- config
|
|
||||||
- name: ensure formsubmit is configured hatchlearningcenter.org signup
|
|
||||||
copy:
|
|
||||||
content: '{{ hlc_formsubmit_signup|to_nice_yaml(indent=2) }}'
|
|
||||||
dest: /etc/formsubmit/hlc-signup.yml
|
|
||||||
mode: u=rw,go=r
|
|
||||||
tags:
|
|
||||||
- config
|
|
||||||
- name: ensure formsubmit is configured hatchlearningcenter.org summer2024
|
|
||||||
copy:
|
|
||||||
content: '{{ hlc_formsubmit_summer2024|to_nice_yaml(indent=2) }}'
|
|
||||||
dest: /etc/formsubmit/hlc-summer2024.yml
|
|
||||||
mode: u=rw,go=r
|
|
||||||
tags:
|
|
||||||
- config
|
|
||||||
|
|
Loading…
Reference in New Issue