RE: Reverse Proxy to SSL web server: configuration example

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

 



If you add the config below to a vanilla httpd.conf, you'll be pretty close to what you are looking for. Just replace the tokens %%TOKEN%% with whatever value you want.


Listen %%svcb_HTTP_ADDR%%:%%HTTP_PORT%%
Listen %%svcb_HTTP_ADDR%%:%%HTTPS_PORT%%

<VirtualHost %%svcb_HTTP_ADDR%%:%%HTTPS_PORT%%>

   ServerName %%svcb_PUBLIC_NAME%%:%%HTTPS_PORT%%   

   SSLCertificateFile %%X509_ROOT%%/ssl.crt/%%svcb_PUBLIC_NAME%%.crt
   SSLCertificateKeyFile %%X509_ROOT%%/ssl.key/%%svcb_PUBLIC_NAME%%.key
   SSLEngine on

   DocumentRoot %%SERVER_ROOT%%/htdocs/svcB

   ErrorLog %%SERVER_LOGS%%/svcB/reverse_error_log
   CustomLog %%SERVER_LOGS%%/svcB/reverse_access_log combined env=!dontlog

   ## Enter additional configuration here

</VirtualHost>                                  

<VirtualHost %%svcb_HTTP_ADDR%%:%%HTTP_PORT%%>

   ServerName %%svcb_PUBLIC_NAME%%:%%HTTP_PORT%%   

   DocumentRoot %%SERVER_ROOT%%/htdocs/svcB

   ErrorLog %%SERVER_LOGS%%/svcB/reverse_error_log
   CustomLog %%SERVER_LOGS%%/svcB/reverse_access_log combined env=!dontlog

   ## Enter additional configuration here

</VirtualHost>                                  



-ascs
 
-----Message d'origine-----
De : news [mailto:news@xxxxxxxxxxxxx] De la part de Zvi Kave
Envoyé : lundi 7 janvier 2008 12:16
À : users@xxxxxxxxxxxxxxxx
Objet :  Reverse Proxy to SSL web server: configuration example

Dear friends,
I am trying to find the configuration for a Reverse Proxy server which has to work with a SSL / non-SSL web server.
Can someone send me full httpd.conf example for such thing?
I need something with probably 2 Virtual hosts for ports 80 / 443.
I hope that I have not to deal with the web server SSL crt/key.

Thanks,

Zvi




---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx


---------------------------------------------------------------------
The official User-To-User support forum of the Apache HTTP Server Project.
See <URL:http://httpd.apache.org/userslist.html> for more info.
To unsubscribe, e-mail: users-unsubscribe@xxxxxxxxxxxxxxxx
   "   from the digest: users-digest-unsubscribe@xxxxxxxxxxxxxxxx
For additional commands, e-mail: users-help@xxxxxxxxxxxxxxxx



[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