Re: Two web-servers with different IP in LAN

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



 
 
18.04.2020, 09:37, "Walter H." <walter.h@xxxxxxxxxxxxxxxxx>:

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>

[Index of Archives]     [Open SSH Users]     [Linux ACPI]     [Linux Kernel]     [Linux Laptop]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Squid]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Video 4 Linux]     [Device Mapper]

  Powered by Linux