From f9c190c7b219944d343b0fbf00e688fcf02046dc Mon Sep 17 00:00:00 2001 From: Salt Date: Thu, 12 Mar 2020 00:08:18 -0500 Subject: [PATCH] Fix redirects, change Minecraft port on botaniapack-1 --- ec2.yml | 2 ++ roles/redirect/templates/apache2-redirect.conf | 4 ++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/ec2.yml b/ec2.yml index f952948..7f76cd2 100644 --- a/ec2.yml +++ b/ec2.yml @@ -13,6 +13,8 @@ mczip: "https://www.9iron.club/files/botaniapack-1.zip" mcforge: "1.10.2-12.18.3.2511" mcmotd: "First time on 9iron edition" + mcport: 25565 + mcgamemode: 0 - role: minecraft vars: mcname: "botaniapack-2" diff --git a/roles/redirect/templates/apache2-redirect.conf b/roles/redirect/templates/apache2-redirect.conf index f732d7e..2b73bb5 100644 --- a/roles/redirect/templates/apache2-redirect.conf +++ b/roles/redirect/templates/apache2-redirect.conf @@ -8,7 +8,7 @@ SSLStrictSNIVHostCheck off # Website configuration ServerName {{ redirect_from }} - Redirect permanent / https://{{ redirect_to }} + Redirect permanent / https://{{ redirect_to }}/ SSLEngine on @@ -16,5 +16,5 @@ SSLStrictSNIVHostCheck off SSLCertificateKeyFile /etc/pki/cert/private/{{ redirect_from }}.key SSLCertificateChainFile /etc/pki/cert/crt/{{ redirect_from}}-fullchain.crt ServerName {{ redirect_from }} - Redirect permanent / https://{{ redirect_to }} + Redirect permanent / https://{{ redirect_to }}/