1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
|
From: Philip Hands <phil@hands.com>
Date: Thu, 10 Feb 2022 16:36:04 +0100
Subject: Add 'expires' as a needed apache module on Debian
Forwarded: no
---
script/configure-web-proxy | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/script/configure-web-proxy b/script/configure-web-proxy
index a97c618..60dc6b7 100755
--- a/script/configure-web-proxy
+++ b/script/configure-web-proxy
@@ -62,7 +62,7 @@ if [[ $web_proxy == "nginx" ]]; then
sed -i -e 's/^\([^#]*server_name[[:space:]]\+localhost;\)/#\1/' /etc/nginx/nginx.conf
elif [[ $web_proxy == "apache" || $web_proxy == "apache2" ]]; then
echo "Setting up apache"
- for i in headers proxy proxy_http proxy_wstunnel rewrite; do a2enmod $i; done
+ for i in headers proxy proxy_http proxy_wstunnel rewrite expires; do a2enmod $i; done
sed "s/#ServerName.*$/ServerName $(hostname)/" "${vhosts_dir}/openqa.conf.template" > "${vhosts_dir}/openqa.conf"
if [[ -n "$web_port" ]]; then
sed -i "s/^Listen.*$/Listen $web_port/" "${etc_proxy}/listen.conf"
|