From ea65d5e29bf5db70440a5e036c3c51dc4120027f Mon Sep 17 00:00:00 2001 From: Thomas Stokes Date: Tue, 7 May 2024 23:41:03 +0200 Subject: [PATCH] b5912: Rellocate key setup --- .../central_reverse_proxy/setup-central-reverse-proxy-part-2.sh | 1 - .../central_reverse_proxy/setup-central-reverse-proxy.sh | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/configuration/environments_scripts/central_reverse_proxy/setup-central-reverse-proxy-part-2.sh b/configuration/environments_scripts/central_reverse_proxy/setup-central-reverse-proxy-part-2.sh index 62b6ffad723..252b2680bbb 100644 --- a/configuration/environments_scripts/central_reverse_proxy/setup-central-reverse-proxy-part-2.sh +++ b/configuration/environments_scripts/central_reverse_proxy/setup-central-reverse-proxy-part-2.sh @@ -23,7 +23,6 @@ cp -r "$TEMPORARY_HOME_COPY_LOCATION"/home / rm -rf "$TEMPORARY_HOME_COPY_LOCATION" build_crontab_and_setup_files -f "${IMAGE_TYPE}" "${GIT_COPY_USER}" "${RELATIVE_PATH_TO_GIT}" # files have already been copied so -f is used. chown trac:static /var/www/static -setup_keys "${IMAGE_TYPE}" # setup nfs systemctl enable nfs-server echo "/var/log/old 172.31.0.0/16(rw,nohide,no_root_squash) diff --git a/configuration/environments_scripts/central_reverse_proxy/setup-central-reverse-proxy.sh b/configuration/environments_scripts/central_reverse_proxy/setup-central-reverse-proxy.sh index 5f3cab50714..7f14c96f8f7 100644 --- a/configuration/environments_scripts/central_reverse_proxy/setup-central-reverse-proxy.sh +++ b/configuration/environments_scripts/central_reverse_proxy/setup-central-reverse-proxy.sh @@ -142,6 +142,7 @@ EOF echo "net.ipv4.ip_conntrac_max = 131072" >> /etc/sysctl.conf # setup fail2ban setup_fail2ban +setup_keys "${IMAGE_TYPE}" # setup logrotate.d/httpd # echo "Patching $HTTP_LOGROTATE_ABSOLUTE so that old logs go to /var/log/old/$IP" >>/var/log/sailing.out # mkdir --parents "/var/log/old/REVERSE_PROXIES/${IP}"