Advertisement
Guest User

Untitled

a guest
Jul 21st, 2017
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.44 KB | None | 0 0
  1. RewriteEngine on
  2. ProxyPass / http://<your-fqdn-here>/
  3. ProxyPassReverse / http://<your-fqdn-here>/
  4.  
  5. <new-ip-address-of-ec2> <your-fqdn-here>
  6.  
  7. a2enmod proxy
  8. a2enmod proxy_http
  9. a2enmod rewrite
  10.  
  11. RewriteEngine on
  12. RewriteCond %{HTTPS} off
  13. RewriteRule (.*) https://%{HTTP_HOST}%{REQUEST_URI}
  14.  
  15. ProxyPreserveHost on
  16. ProxyPass / http://123.456.1.1/
  17. ProxyPassReverse / http://123.456.1.1/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement