[Ilugc] configure https for forward proxy in apache
- From: kapil@xxxxxxxxxxx (Kapil Hari Paranjape)
- Date: Fri Feb 13 12:22:32 2009
Hello,
On Fri, 13 Feb 2009, Dinesh Kumar wrote:
In our Application , we are using forward proxy in apache and
working fine . but in case, use of https fails,
so how to configure to forward the https request in http.conf. guidance
please ...
We use apache2 for the frontend.
The following configuration uses a single "https" virtual host as a
frontend for multiple backend https servers. All the certificates are
signed by a single "master" certificate.
With more recent apache2 it is also possible to have multiple https
virtual hosts. We do not have the need for this and have not
experimented with it.
Hope this helps,
Kapil.
-------------------
<VirtualHost *:443>
ErrorLog /var/log/apache2/sslerror.log
# Possible values include: debug, info, notice, warn, error, crit,
# alert, emerg.
LogLevel warn
CustomLog /var/log/apache2/sslaccess.log combined
ServerSignature On
#SSL Stuff
SSLEngine on
SSLCertificateFile /etc/apache2/ssl/ssl.crt/server.crt
SSLCertificateKeyFile /etc/apache2/ssl/ssl.key/server.key
# Set an environment variable to indicate that this is the SSL server
SetEnv USING_SSL_SERVER 1
<IfModule mod_proxy.c>
# Don't allow proxy services
# this is only a reverse proxy
ProxyRequests Off
# Experiment with these depending on
# what your backend server config is
ProxyVia On
ProxyPreserveHost On
SSLProxyCACertificateFile /etc/ssl/certs/imsc_ca.crt
SSLProxyEngine On
<Proxy *>
Order allow,deny
Allow from all
</Proxy>
# Proxy rules for the wiki
ProxyPass /IMScWiki/
https://wiki.imsc.res.in/IMScWiki
ProxyPassReverse /IMScWiki
ProxyPass /eprints/
https://eprints.imsc.res.in/eprints
ProxyPassReverse /eprints
# other servers here etc.
</IfModule>
</VirtualHost>
-------------------
Other related posts: