2021-01-18 05:03:46 -06:00
|
|
|
# vim:ft=ansible:
|
|
|
|
apache_global_vhost_settings: |
|
|
|
|
DirectoryIndex index.php index.html
|
|
|
|
Protocols h2 http/1.1
|
|
|
|
<FilesMatch \.php$>
|
|
|
|
SetHandler "proxy:fcgi://127.0.0.1:9000"
|
|
|
|
</FilesMatch>
|
|
|
|
apache_vhosts:
|
|
|
|
# desu.ltd
|
|
|
|
- servername: desu.ltd
|
|
|
|
extra_parameters: |
|
|
|
|
Redirect permanent / https://desu.ltd/
|
|
|
|
- servername: git.desu.ltd
|
|
|
|
extra_parameters: |
|
|
|
|
Redirect permanent / https://git.desu.ltd/
|
|
|
|
- servername: nc.desu.ltd
|
|
|
|
extra_parameters: |
|
|
|
|
Redirect permanent / https://nc.desu.ltd/
|
2021-06-18 11:31:50 -05:00
|
|
|
# 9iron.club
|
2021-07-13 12:34:01 -05:00
|
|
|
- servername: 9iron.club
|
|
|
|
extra_parameters: |
|
|
|
|
Redirect permanent / https://9iron.club/
|
2021-06-18 11:37:29 -05:00
|
|
|
- servername: www.9iron.club
|
|
|
|
extra_parameters: |
|
|
|
|
Redirect permanent / https://9iron.club/
|
2021-05-11 22:28:19 -05:00
|
|
|
- servername: srv.9iron.club
|
2021-01-18 05:03:46 -06:00
|
|
|
extra_parameters: |
|
2021-05-11 22:28:19 -05:00
|
|
|
Redirect permanent / https://srv.9iron.club/
|
2021-01-18 05:03:46 -06:00
|
|
|
apache_vhosts_ssl:
|
|
|
|
# desu.ltd
|
|
|
|
- servername: desu.ltd
|
2021-04-08 14:31:29 -05:00
|
|
|
extra_parameters: |
|
|
|
|
ProxyPreserveHost On
|
|
|
|
ProxyRequests Off
|
|
|
|
ProxyPass / http://127.0.0.1:8002/ nocanon retry=1
|
2021-05-11 22:28:19 -05:00
|
|
|
certificate_file: /etc/letsencrypt/live/srv.9iron.club/fullchain.pem
|
|
|
|
certificate_key_file: /etc/letsencrypt/live/srv.9iron.club/privkey.pem
|
|
|
|
certificate_chain_file: /etc/letsencrypt/live/srv.9iron.club/chain.pem
|
2021-01-18 05:03:46 -06:00
|
|
|
- servername: git.desu.ltd
|
|
|
|
extra_parameters: |
|
|
|
|
ProxyPreserveHost On
|
|
|
|
ProxyRequests Off
|
|
|
|
ProxyPass / http://127.0.0.1:3000/ nocanon retry=1
|
2021-05-11 22:28:19 -05:00
|
|
|
certificate_file: /etc/letsencrypt/live/srv.9iron.club/fullchain.pem
|
|
|
|
certificate_key_file: /etc/letsencrypt/live/srv.9iron.club/privkey.pem
|
|
|
|
certificate_chain_file: /etc/letsencrypt/live/srv.9iron.club/chain.pem
|
2021-01-18 05:03:46 -06:00
|
|
|
- servername: nc.desu.ltd
|
|
|
|
extra_parameters: |
|
|
|
|
Header always set Strict-Transport-Security "max-age=31536000"
|
|
|
|
documentroot: /var/www/nc.desu.ltd
|
2021-05-11 22:28:19 -05:00
|
|
|
certificate_file: /etc/letsencrypt/live/srv.9iron.club/fullchain.pem
|
|
|
|
certificate_key_file: /etc/letsencrypt/live/srv.9iron.club/privkey.pem
|
|
|
|
certificate_chain_file: /etc/letsencrypt/live/srv.9iron.club/chain.pem
|
2021-06-18 11:31:50 -05:00
|
|
|
# 9iron.club
|
2021-06-18 11:37:29 -05:00
|
|
|
- servername: www.9iron.club
|
|
|
|
extra_parameters: |
|
|
|
|
Redirect permanent / https://9iron.club/
|
|
|
|
certificate_file: /etc/letsencrypt/live/srv.9iron.club/fullchain.pem
|
|
|
|
certificate_key_file: /etc/letsencrypt/live/srv.9iron.club/privkey.pem
|
|
|
|
certificate_chain_file: /etc/letsencrypt/live/srv.9iron.club/chain.pem
|
2021-06-18 11:31:50 -05:00
|
|
|
- servername: 9iron.club
|
|
|
|
extra_parameters: |
|
|
|
|
ProxyPreserveHost On
|
|
|
|
ProxyRequests Off
|
|
|
|
ProxyPass / http://127.0.0.1:8001/ nocanon retry=1
|
|
|
|
certificate_file: /etc/letsencrypt/live/srv.9iron.club/fullchain.pem
|
|
|
|
certificate_key_file: /etc/letsencrypt/live/srv.9iron.club/privkey.pem
|
|
|
|
certificate_chain_file: /etc/letsencrypt/live/srv.9iron.club/chain.pem
|
2021-05-11 22:28:19 -05:00
|
|
|
- servername: srv.9iron.club
|
2021-05-14 10:14:12 -05:00
|
|
|
extra_parameters: |
|
|
|
|
<Directory /var/www/srv.9iron.club>
|
|
|
|
Options +Indexes
|
|
|
|
</Directory>
|
2021-05-11 22:28:19 -05:00
|
|
|
documentroot: /var/www/srv.9iron.club
|
|
|
|
certificate_file: /etc/letsencrypt/live/srv.9iron.club/fullchain.pem
|
|
|
|
certificate_key_file: /etc/letsencrypt/live/srv.9iron.club/privkey.pem
|
|
|
|
certificate_chain_file: /etc/letsencrypt/live/srv.9iron.club/chain.pem
|