Mercurial > dive4elements > river
comparison docker/httpd-wiki.conf @ 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 | a9641367812c |
children |
comparison
equal
deleted
inserted
replaced
9802:a9641367812c | 9803:a440ebd5c23b |
---|---|
1 ErrorLog /dev/stderr | |
2 CustomLog /dev/stdout combined | |
3 | |
4 # GWT client | |
5 RedirectMatch "^/$" "/d4e-river" | |
6 ProxyPass "/d4e-river" "ajp://client:8009/d4e-river" | |
7 ProxyPassReverse "/d4e-river" "ajp://client:8009/d4e-river" | |
8 | |
9 # MapServer | |
10 ProxyPass "/cgi-bin" "http://mapserv/cgi-bin" | |
11 ProxyPassReverse "/cgi-bin" "http://mapserv/cgi-bin" | |
12 | |
13 # Wiki | |
14 WSGIScriptAlias /wiki /opt/wiki/moin-1.9.9/wiki/server/moin.wsgi | |
15 WSGIDaemonProcess moin user=wiki group=wiki \ | |
16 python-path=/opt/wiki/moin-1.9.9 \ | |
17 processes=5 threads=10 maximum-requests=1000 umask=0007 | |
18 WSGIProcessGroup moin | |
19 <Directory /opt/wiki/moin-1.9.9/wiki/server> | |
20 Require all granted | |
21 </Directory> |