Created
September 30, 2013 11:15
-
-
Save AhmedKammorah/6762346 to your computer and use it in GitHub Desktop.
VirtualHost
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<VirtualHost 178.79.128.80:443> | |
ServerName api.intafeen.com | |
DocumentRoot /var/www | |
SSLEngine on | |
SSLCACertificateFile /etc/ssl/RapidSSL_CA_bundle.pem | |
SSLCertificateFile /etc/ssl/certs/api.intafeen.com.cert | |
SSLCertificateKeyFile /etc/ssl/private/api.intafeen.com.key | |
<Proxy *> | |
AddDefaultCharset Off | |
Order deny,allow | |
Allow from all | |
SSLRequireSSL | |
</Proxy> | |
ProxyPass /v1/ ajp://localhost:8009/https-datastore/ | |
ProxyPassReverse /v1/ ajp://localhost:8009/https-datastore/ | |
</VirtualHost> | |
<VirtualHost *:443> | |
ServerName alpha.api.intafeen.com | |
DocumentRoot /var/www | |
SSLEngine on | |
SSLCACertificateFile /etc/ssl/RapidSSL_CA_bundle.pem | |
SSLCertificateFile /etc/ssl/certs/alpha.api.intafeen.com.cert | |
SSLCertificateKeyFile /etc/ssl/private/alpha.api.intafeen.com.insecure.key | |
<Proxy *> | |
AddDefaultCharset Off | |
Order deny,allow | |
Allow from all | |
</Proxy> | |
ProxyPass /v1/ ajp://localhost:8009/https-rg-datastore/ | |
ProxyPassReverse /v1/ ajp://localhost:8009/https-rg-datastore/ | |
ProxyPass /vi/ ajp://localhost:8009/internal-rg-datastore/ | |
ProxyPassReverse /vi/ ajp://localhost:8009/internal-rg-datastore/ | |
ErrorLog /var/log/apache2/alpha.api.intafeen.com_error.log | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment