Advertisement
Guest User

Untitled

a guest
Jul 27th, 2017
54
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.51 KB | None | 0 0
  1. <VirtualHost *:80>
  2. ServerName example.com
  3. ServerAlias foo.example.com
  4.  
  5. RewriteEngine On
  6. <Proxy *>
  7. Order Allow,Deny
  8. Allow from all
  9. </Proxy>
  10. <Location /api>
  11. ProxyPass http://example.com/api retry=0
  12. SetOutputFilter DEFLATE
  13. </Location>
  14. </VirtualHost>
  15.  
  16. RewriteEngine On
  17. <Proxy *>
  18. Order Allow,Deny
  19. Allow from all
  20. </Proxy>
  21. <Location /api>
  22. ProxyPass http://example.com/ retry=0
  23. SetOutputFilter DEFLATE
  24. </Location>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement