Advertisement
Guest User

Untitled

a guest
Jan 18th, 2017
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.34 KB | None | 0 0
  1. ---443--> |
  2. | HAProxy ------>Varnish(8081) ----------> apache2(8080)
  3. ---80---> |
  4.  
  5. RewriteCond %{HTTP_HOST} ^example.com [NC]
  6. RewriteCond %{HTTP_HOST} ^www.example.com [NC]
  7. RewriteRule ^(.*)$ https://www.example.com$1 [L,R=301]
  8.  
  9. RewriteCond %{DOCUMENT_ROOT}%{REQUEST_FILENAME} !-f
  10. RewriteRule ^(.*)$ %{DOCUMENT_ROOT}/app_dev.php [QSA,L]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement