Advertisement
Queses

Apache 2 VHost Reverse Proxy Example

Feb 24th, 2020
202
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 0.22 KB | None | 0 0
  1. <VirtualHost *:${AP_PORT}>
  2.  ServerName new.lx.localhost
  3.  # ServerAlias www.new.lx.localhost
  4.  
  5.  ErrorLog logs/new.lx.error.log
  6.  
  7.  ProxyPass / http://localhost:3007/
  8.  ProxyPassReverse / http://localhost:3007/
  9. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement