Hi, I'm trying to configure a connection from apache server to backend server. scenario is as below: User request for HTTPS --> Apache HTTPS --> Proxypass to --> backend server at http://localhost:8000 --> then return back to user I tried proxypass and proxypassreverse on HTTPS connection, it don't work at all, but it works on Port 80. Please advise.
I will check your configuration only. OK. My be you can try to enable https server both (main server and backend server). Put proxyreverse configuration to your https server configuration.
this is what I have in my ssl.conf Redirect / https://real-domain/console ProxyPreserveHost on ProxyPass /console https://backend:<port>/console ProxyPassReverse /console https://backend:<port>/console I've forgotten that SSL Configurations should be put inside ssl.conf and not httpd.conf. That was where the error came from, once putting into ssl.conf, everything solves. Now i'm cracking my head on how to make HTTPS listen to one IP only, but with several domain names, any idea?
maybe you can use virtual host example Code: <VirtualHost *> ServerAdmin [email protected] ServerName "www.mydomain.com" ServerAlias "mydomain.com" DocumentRoot /var/www/mydomain <Directory /var/www/mydomain> Options Indexes FollowSymLinks MultiViews AllowOverride All Order allow,deny allow from all </Directory> ....bla..bla..bla... </VirtualHost>
ya i got it... can we use VirtualHost for multiple HTTPS VirtualHost with a single IP Address? I'm using VirtualHost for this as well, just do not have any idea whether can I host multiple VirtualHost in HTTPS with a single IP address?