Thanks for your comments, I will try and show where I am to date and the results.
On my main Server (192.168.0.2) I used Virtual hosts to setup my nextcloud and personal website as per various tutorials and I it is working perfectly with SSL - no problems there. I tried to add coding to allow me to access my docker pihole running on 192.168.0.2:8081 and a Rapsberry PI Home Assistant runing on a different 192.168.0.5:8123.
My research lead me to a configuration, but that failed.
I then switched my efforts to my test PC (192.168.0.3) and tried the above configuration which failed so I am now at:
<VirtualHost *:80>
# ProxyPreserveHost On
# ProxyRequests Off
ProxyPass /pihole http://192.168.0.2:8081/admin/
ProxyPassReverse /pihole http://192.168.0.2:8081/admin/
</VirtualHost>
<VirtualHost *:80>
# ProxyPreserveHost On
# ProxyRequests Off
ProxyPass /homeasst http://192.168.0.5:8123/"
ProxyPassReverse /homeasst http://192.168.0.5:8123/
</VirtualHost>
This was a partial success in that I got a text based version of my pihole site, but all the links reffered to âlocalhostâ which in this instance was 192.168.0.3 and not the actual IP address of the pihole docker.
There was absolutely nothing in the error_log. The Access_log shows
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /pihole HTTP/1.1" 200 16775 "-" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /style/vendor/SourceSansPro/SourceSansPro.css?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, li
ke Gecko) Chrome/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /style/vendor/daterangepicker.min.css?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko
) Chrome/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /style/pi-hole.css?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.
182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /style/vendor/bootstrap/css/bootstrap.min.css?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, li
ke Gecko) Chrome/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /style/vendor/datatables.min.css?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chr
ome/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /style/vendor/select2.min.css?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome
/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /style/vendor/AdminLTE.min.css?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrom
e/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /style/themes/default-light.css?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chro
me/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/vendor/jquery.min.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome
/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /style/vendor/bootstrap/js/bootstrap.min.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like
Gecko) Chrome/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/vendor/moment.min.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome
/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/vendor/datatables.min.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ch
rome/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/vendor/adminlte.min.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chro
me/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/vendor/bootstrap-notify.min.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gec
ko) Chrome/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/vendor/select2.min.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrom
e/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/vendor/Chart.min.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/
88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /style/vendor/font-awesome/js/all.min.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge
cko) Chrome/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/vendor/select2.min.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrom
e/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/pi-hole/js/index.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/
88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/pi-hole/js/utils.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/
88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/vendor/datatables.min.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ch
rome/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/pi-hole/js/footer.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome
/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /img/logo.svg HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/vendor/moment.min.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome
/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/vendor/Chart.min.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/
88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /img/donate.gif HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.3
6"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /style/vendor/font-awesome/js/all.min.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Ge
cko) Chrome/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /img/logo.svg HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/pi-hole/js/utils.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/
88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/pi-hole/js/index.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/
88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /scripts/pi-hole/js/footer.js?v=1613518563 HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome
/88.0.4324.182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /img/favicons/favicon.ico HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.182 Sa
fari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /img/favicons/favicon-32x32.png HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.
182 Safari/537.36"
192.168.0.2 - - [25/Feb/2021:07:53:50 +0000] "GET /img/favicons/favicon-16x16.png HTTP/1.1" 404 1088 "http://192.168.0.3/pihole" "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/88.0.4324.
182 Safari/537.36"
::1 - - [25/Feb/2021:07:54:08 +0000] "OPTIONS * HTTP/1.0" 200 - "-" "Apache/2.4.43 (Linux/SUSE) PHP/7.4.6 mod_wsgi/4.5.18 Python/3.6 mod_perl/2.0.11 Perl/v5.26.1 (internal dummy connection)"
Can anyone provide a worked opensuse example of a reverse proxy configuration OR an alternate way of addressing the two services I want to find.
e.g. Is it possible to build some html code in /srv/www/htdocs/pihole to direct me to the pihole site, same for the home assistance site
Thanks for any help.