Fix redirects, change Minecraft port on botaniapack-1

This commit is contained in:
Salt 2020-03-12 00:08:18 -05:00
parent bb481aceb3
commit f9c190c7b2
2 changed files with 4 additions and 2 deletions

View File

@ -13,6 +13,8 @@
mczip: "https://www.9iron.club/files/botaniapack-1.zip" mczip: "https://www.9iron.club/files/botaniapack-1.zip"
mcforge: "1.10.2-12.18.3.2511" mcforge: "1.10.2-12.18.3.2511"
mcmotd: "First time on 9iron edition" mcmotd: "First time on 9iron edition"
mcport: 25565
mcgamemode: 0
- role: minecraft - role: minecraft
vars: vars:
mcname: "botaniapack-2" mcname: "botaniapack-2"

View File

@ -8,7 +8,7 @@ SSLStrictSNIVHostCheck off
# Website configuration # Website configuration
<VirtualHost *:80> <VirtualHost *:80>
ServerName {{ redirect_from }} ServerName {{ redirect_from }}
Redirect permanent / https://{{ redirect_to }} Redirect permanent / https://{{ redirect_to }}/
</VirtualHost> </VirtualHost>
<VirtualHost *:443> <VirtualHost *:443>
SSLEngine on SSLEngine on
@ -16,5 +16,5 @@ SSLStrictSNIVHostCheck off
SSLCertificateKeyFile /etc/pki/cert/private/{{ redirect_from }}.key SSLCertificateKeyFile /etc/pki/cert/private/{{ redirect_from }}.key
SSLCertificateChainFile /etc/pki/cert/crt/{{ redirect_from}}-fullchain.crt SSLCertificateChainFile /etc/pki/cert/crt/{{ redirect_from}}-fullchain.crt
ServerName {{ redirect_from }} ServerName {{ redirect_from }}
Redirect permanent / https://{{ redirect_to }} Redirect permanent / https://{{ redirect_to }}/
</VirtualHost> </VirtualHost>