From 9d47feca615bfb5aef8be2a18885720ea9754a09 Mon Sep 17 00:00:00 2001 From: mjanez <96422458+mjanez@users.noreply.github.com> Date: Mon, 17 Apr 2023 07:50:16 +0000 Subject: [PATCH] Fix APACHE_PROXY_PASS to APACHE_CKAN_PROXY_PASS --- .env | 2 +- apache/Dockerfile | 2 +- apache/setup/httpd.conf | 4 ++-- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.env b/.env index ed57dda..c203aff 100644 --- a/.env +++ b/.env @@ -34,7 +34,7 @@ NGINX_PORT=80 NGINX_SSLPORT=443 # Apache HTTP Server -APACHE_VERSION=2.4 +APACHE_VERSION=2.4-alpine APACHE_PORT=80 APACHE_LOG_DIR=/var/log/apache APACHE_SERVER_NAME=localhost diff --git a/apache/Dockerfile b/apache/Dockerfile index 721cd5a..a1d962a 100644 --- a/apache/Dockerfile +++ b/apache/Dockerfile @@ -13,7 +13,7 @@ ENV APACHE_SERVER_NAME=localhost ENV APACHE_CKAN_LOCATION=/ ENV APACHE_PYCSW_LOCATION=/csw ENV APACHE_PYCSW_PROXY_PASS=http://${PYCSW_CONTAINER_NAME}:${PYCSW_PORT_HOST} -ENV APACHE_PROXY_PASS=http://${CKAN_CONTAINER_NAME}:${CKAN_PORT_HOST} +ENV APACHE_CKAN_PROXY_PASS=http://${CKAN_CONTAINER_NAME}:${CKAN_PORT_HOST} RUN mkdir -p ${APACHE_LOG_DIR} diff --git a/apache/setup/httpd.conf b/apache/setup/httpd.conf index 1c527f5..b5cdc66 100644 --- a/apache/setup/httpd.conf +++ b/apache/setup/httpd.conf @@ -225,8 +225,8 @@ Group www-data # - ProxyPass ${APACHE_PROXY_PASS} - ProxyPassReverse ${APACHE_PROXY_PASS} + ProxyPass ${APACHE_CKAN_PROXY_PASS} + ProxyPassReverse ${APACHE_CKAN_PROXY_PASS}