annotate docker/httpd-proxy.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 docker/httpd-wiki.conf@75dc4ea60938
children
rev   line source
9754
cd07130ded8d Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents: 9739
diff changeset
1 # GWT client
cd07130ded8d Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents: 9739
diff changeset
2 RedirectMatch "^/$" "/d4e-river"
9790
75dc4ea60938 Drop using explicit container names
Tom Gottfried <tom@intevation.de>
parents: 9755
diff changeset
3 ProxyPass "/d4e-river" "ajp://client:8009/d4e-river"
75dc4ea60938 Drop using explicit container names
Tom Gottfried <tom@intevation.de>
parents: 9755
diff changeset
4 ProxyPassReverse "/d4e-river" "ajp://client:8009/d4e-river"
9754
cd07130ded8d Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents: 9739
diff changeset
5
9755
0834c2591e14 Route MapServer through wiki container
Tom Gottfried <tom@intevation.de>
parents: 9754
diff changeset
6 # MapServer
9790
75dc4ea60938 Drop using explicit container names
Tom Gottfried <tom@intevation.de>
parents: 9755
diff changeset
7 ProxyPass "/cgi-bin" "http://mapserv/cgi-bin"
75dc4ea60938 Drop using explicit container names
Tom Gottfried <tom@intevation.de>
parents: 9755
diff changeset
8 ProxyPassReverse "/cgi-bin" "http://mapserv/cgi-bin"
9755
0834c2591e14 Route MapServer through wiki container
Tom Gottfried <tom@intevation.de>
parents: 9754
diff changeset
9
9754
cd07130ded8d Route GWT client through wiki container
Tom Gottfried <tom@intevation.de>
parents: 9739
diff changeset
10 # Wiki
9803
a440ebd5c23b Avoid using outdated mod_wsgi in Docker setup
Tom Gottfried <tom@intevation.de>
parents: 9790
diff changeset
11 ProxyPass "/wiki" "http://wiki:8080"
a440ebd5c23b Avoid using outdated mod_wsgi in Docker setup
Tom Gottfried <tom@intevation.de>
parents: 9790
diff changeset
12 ProxyPassReverse "/wiki" "http://wiki:8080"
a440ebd5c23b Avoid using outdated mod_wsgi in Docker setup
Tom Gottfried <tom@intevation.de>
parents: 9790
diff changeset
13 ProxyHTMLEnable On
a440ebd5c23b Avoid using outdated mod_wsgi in Docker setup
Tom Gottfried <tom@intevation.de>
parents: 9790
diff changeset
14 <Location "/wiki">
a440ebd5c23b Avoid using outdated mod_wsgi in Docker setup
Tom Gottfried <tom@intevation.de>
parents: 9790
diff changeset
15 ProxyHTMLURLMap "/" "/wiki/"
a440ebd5c23b Avoid using outdated mod_wsgi in Docker setup
Tom Gottfried <tom@intevation.de>
parents: 9790
diff changeset
16 </Location>

http://dive4elements.wald.intevation.org