Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- UseCanonicalName On
- <VirtualHost *80>
- ServerAlias web.url.in
- ServerSignature On
- Header set X-Frame-Options "SAMEORIGIN"
- Header set Strict-Transport-Security "max-age=15768000; includeSubDomains"
- Header set X-XSS-Protection "1; mode=block"
- Header set X-Content-Type-Options "nosniff"
- Header set Content-Security-Policy-Report-Only "default-src 'self'; img-src *; style-src 'unsafe-inline'; script-src 'unsafe-inline' 'unsafe-eval'"
- ProxyVia On
- # prevent your web server from being used as global HTTP proxy
- <LocationMatch "^[^/]">
- Deny from all
- </LocationMatch>
- <Proxy *>
- Order deny,allow
- Allow from all
- </Proxy>
- RewriteEngine on
- RewriteRule ^/(.*) http://localhost:8080/VirtualHostBase/http/web.url.in:80/lhtr/VirtualHostRoot/$1 [P,L]
- </VirtualHost>
- <VirtualHost *>
- ServerAlias *
- ServerRoot /var/www
- ServerSignature On
- </VirtualHost>
- <VirtualHost *:80>
- ServerName web.url.in
- ProxyPreserveHost On
- ProxyPass /MNCD2016 http://web.url.in:8081/MNCD2016
- ProxyPassReverse /VSRP2016 http://web.url.in:8081/MNCD2016
- RewriteEngine on
- RewriteRule ^/$ http://web.url.in/MNCD2016
- </VirtualHost>
Add Comment
Please, Sign In to add comment