Mercurial > dive4elements > river
comparison docker/Dockerfile.proxy @ 9803:a440ebd5c23b 3.2.x tip
Avoid using outdated mod_wsgi in Docker setup
Run Wiki in standalone mode behind reverse proxy, which is provided by
a more up-to-date Apache web server. The wiki container is still based
on CentOS 7, because the included SSO integration component cannot be
build with more recent libraries.
author | Tom Gottfried <tom@intevation.de> |
---|---|
date | Wed, 21 Aug 2024 16:54:17 +0200 |
parents | |
children |
comparison
equal
deleted
inserted
replaced
9802:a9641367812c | 9803:a440ebd5c23b |
---|---|
1 # Docker file for proxy acting as central access point for D4E River | |
2 FROM httpd | |
3 MAINTAINER tom@intevation.de | |
4 | |
5 ADD httpd-proxy.conf $HTTPD_PREFIX/conf/extra/ | |
6 | |
7 # Activate necessary modules | |
8 RUN sed -i -e "/^#LoadModule proxy_module/s/#//;/^#LoadModule proxy_http_module/s/#//;/^#LoadModule proxy_ajp_module/s/#//;/^#LoadModule proxy_html_module/s/#//" $HTTPD_PREFIX/conf/httpd.conf | |
9 | |
10 # Include proxy configuration | |
11 RUN echo "Include conf/extra/httpd-proxy.conf" >> $HTTPD_PREFIX/conf/httpd.conf |