Mercurial > dive4elements > river
diff 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 |
line wrap: on
line diff
--- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docker/httpd-proxy.conf Wed Aug 21 16:54:17 2024 +0200 @@ -0,0 +1,16 @@ +# GWT client +RedirectMatch "^/$" "/d4e-river" +ProxyPass "/d4e-river" "ajp://client:8009/d4e-river" +ProxyPassReverse "/d4e-river" "ajp://client:8009/d4e-river" + +# MapServer +ProxyPass "/cgi-bin" "http://mapserv/cgi-bin" +ProxyPassReverse "/cgi-bin" "http://mapserv/cgi-bin" + +# Wiki +ProxyPass "/wiki" "http://wiki:8080" +ProxyPassReverse "/wiki" "http://wiki:8080" +ProxyHTMLEnable On +<Location "/wiki"> + ProxyHTMLURLMap "/" "/wiki/" +</Location>