18.04.2020, 09:37, "Walter H." <walte...@mathemainzel.info>:
you can configure 192.168.1.10 as a proxy for 192.168.1.20 for
accessing portal.mydom.com
this looks simiar to this:
<VirtualHost 192.168.1.10:80>
ServerName portal.mydom.com:80
ProxyPass / http://192.168.1.20/
ProxyPassReverse / http://192.168.1.20/
</VirtualHost>
similar with 443 (https)
Thanks for answer, but not worked. I get error:
Sat Apr 18 17:07:06.005494 2020] [ssl:emerg] [pid 16506:tid 139660538349440] AH02572: Failed to configure at least one certificate and key for portal.mydom.com:443
[Sat Apr 18 17:07:06.005643 2020] [ssl:emerg] [pid 16506:tid 139660538349440] SSL Library Error: error:140A80B1:SSL routines:SSL_CTX_check_private_key:no certificate assigned
And it is true. Those certificates stored in 192.168.1.20
My VirtualHost now is:
<VirtualHost *:80>
ServerName portal.mydom.com:80
ProxyPass / http://192.168.1.20/
ProxyPassReverse / http://192.168.1.20/
</VirtualHost>
<VirtualHost *:443>
ServerName portal.mydom.com:443
ProxyPass / https://192.168.1.20/
ProxyPassReverse / https://192.168.1.20/
</VirtualHost>