Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Listen 80
- Listen 443
- NameVirtualHost *:80
- Servername app1.xyz.com
- <VirtualHost *:80>
- ServerName jira.xyz.org
- RewriteEngine On
- RewriteCond %{SERVER_PORT} !^443$
- RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
- </VirtualHost>
- # NameVirtualHost *:443
- <VirtualHost 192.168.1.132:443>
- Servername jira.xyz.org
- SSLEngine On
- SSLCertificateFile /etc/httpd/ssl/cert.crt
- SSLCACertificateFile /etc/httpd/ssl/intermediate.crt
- SSLCertificateKeyFile /etc/httpd/ssl/jira.xyz.org.key
- SSLProxyEngine on
- <Proxy *>
- Order deny,allow
- Allow from all
- </Proxy>
- ProxyPass / http://localhost:8080/
- ProxyPassReverse / http://localhost:8080/
- </VirtualHost>
- <VirtualHost *:80>
- ServerName wiki.xyz.org
- <Proxy *>
- Order deny,allow
- Allow from all
- </Proxy>
- ProxyPass / http://localhost:8090/
- ProxyPassReverse / http://localhost:8090/
- </VirtualHost>
- # Mod Status Configuration for ServerDensity Monitoring Agent
- ExtendedStatus On
- <Location /server-status>
- SetHandler server-status
- Order Deny,Allow
- Deny from all
- Allow from 127.0.0.1
- </Location>
- <VirtualHost *:80>
- ServerName redcap.xyz.org
- ServerAdmin info@xyz.org
- DocumentRoot /opt/redcap/
- </VirtualHost>
- <VirtualHost 192.168.1.133:80>
- ServerName redcap-test.xyz.org
- RewriteEngine On
- RewriteCond %{SERVER_PORT} !^443$
- RewriteRule .* https://%{SERVER_NAME}%{REQUEST_URI} [R,L]
- </VirtualHost>
- <VirtualHost 192.168.1.133:443>
- ServerName redcap.xyz.org
- ServerAdmin info@xyz.org
- DocumentRoot /opt/redcap/
- SSLEngine on
- SSLProtocol -all +SSLv3 +TLSv1
- SSLCertificateFile /etc/httpd/ssl/redcap.crt
- SSLCertificateKeyFile /etc/httpd/ssl/redcap.key
- SetEnvIf User-Agent ".*MSIE.*" nokeepalive ssl-unclean-shutdown
- </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement