Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ---443--> |
- | HAProxy ------>Varnish(8081) ----------> apache2(8080)
- ---80---> |
- RewriteCond %{HTTP_HOST} ^example.com [NC]
- RewriteCond %{HTTP_HOST} ^www.example.com [NC]
- RewriteRule ^(.*)$ https://www.example.com$1 [L,R=301]
- RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
- RewriteRule ^(.*)$ %{DOCUMENT_ROOT}/app_dev.php [QSA,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement