Last active
September 2, 2015 01:14
-
-
Save josdem/04a7085c0adeb78b91e7 to your computer and use it in GitHub Desktop.
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 *:80> | |
DocumentRoot "/var/www/vhosts/qa" | |
ServerName qa.techminds.com.mx | |
<Directory "/var/www/vhosts/qa"> | |
Options Indexes FollowSymLinks MultiViews | |
AllowOverride All | |
Order Deny,Allow | |
Allow from all | |
</Directory> | |
ErrorLog logs/qa.techminds.com.mx-error_log | |
CustomLog logs/qa.techminds.com.mx-access_log common | |
<Proxy balancer://clusterTimone> | |
BalancerMember ajp://localhost:8011 route=qa | |
ProxySet stickysession=JSESSIONID | |
</Proxy> | |
ProxyPass /manage-balancer ! | |
ProxyPass / balancer://clusterQa/ stickysession=JSESSIONID | |
ProxyPassReverse / balancer://clusterQa/ | |
<Location /manage-balancer> | |
SetHandler balancer-manager | |
</Location> | |
</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 192.168.0.122:80> | |
ServerName "ci.techminds.com.mx:80" | |
ServerAlias "ci.techminds.com.mx" | |
ServerAdmin "contacto@techminds.com.mx" | |
ProxyRequests Off | |
ProxyPreserveHost On | |
RewriteEngine On | |
RewriteCond %{HTTP:X-Forwarded-Proto} !https | |
#RewriteCond %{HTTP_HOST} !^ci.techminds.com.mx | |
RewriteRule / https://ci.techminds.com.mx%{REQUEST_URI} [L,R] | |
<Proxy *> | |
Order deny,allow | |
Allow from all | |
</Proxy> | |
Include "/etc/httpd/conf/jenkins.vhost.conf" | |
</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 _default_:443> | |
ServerName iecce.mx | |
DocumentRoot /var/www/html/iecce | |
<Directory /var/www/html/iecce> | |
Options -Indexes FollowSymLinks -MultiViews | |
AllowOverride All | |
</Directory> | |
SSLEngine On | |
SSLCertificateFile /etc/pki/tls/certs/2015.iecce.mx.cert | |
SSLCertificateKeyFile /etc/pki/tls/private/2015.iecce.mx.key | |
SSLCertificateChainFile /etc/pki/tls/private/DigiCertCA.crt | |
ErrorLog /var/log/httpd/iecce.mx-ssl-error.log | |
CustomLog /var/log/httpd/iecce.mx-ssl-access.log combined | |
# Possible values include: debug, info, notice, warn, error, crit, | |
# alert, emerg. | |
LogLevel warn | |
</VirtualHost> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
//Found in
/etc/httpd/conf/httpd.conf
//Post production
Add qa directory in /var/www/vhosts