Arbeitsnotizen zu: Lokaler Apache Reverse Proxy mit SSL

Kommentieren Nov 29 2019 .txt, .json, .md

Lokal unter Gentoo einen Apache ReverseProxy mit SSL. SSL sollte schon eingerichtet sein

/etc/apache2/vhost.d/ssl_custom_vhost.conf

...
<IfDefine SSL_CUSTOM_VHOST>
...
Listen 4433 # CUSTOM port if neded
....
<VirtualHost _default_:4433> # CUSTOM port if neded
...
SSLProxyEngine On

ProxyPass /_ui/ https://dev.tld.com/_ui/
ProxyPassReverse /_ui/ https://dev.tld.com/_ui/

ProxyPass /some/api/ https://dev.tld.com/some/api/
ProxyPassReverse /some/api/ https://dev.tld.com/some/api/

ProxyPass / http://localhost:8080/
ProxyPassReverse / http://localhost:8080/

Den angepasst vhost über -D SSL_CUSTOM_HOST in /etc/conf.d/apache2 aktivieren.