manzwebdesigns

RhodeCode ReverseProxy

Jun 7th, 2016
251
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.58 KB | None | 0 0
  1. <VirtualHost *:10002>
  2.         ServerName hg.insource-tech.com
  3.         ServerAlias hg.insource-tech.com
  4.  
  5.         ServerAdmin bud.manz@insource-tech.com
  6.         DocumentRoot /home/insource/.rccontrol/community-1/static
  7.  
  8.         <Proxy *>
  9.                 Order allow,deny
  10.                 Allow from all
  11.         </Proxy>
  12.  
  13.         # important !
  14.        # Directive to properly generate url (clone url) for pylons
  15.        ProxyPreserveHost On
  16.  
  17.         #rhodecode instance
  18.        ProxyPass / http://127.0.0.1:5000/
  19.         ProxyPassReverse / http://127.0.0.1:5000/
  20. </VirtualHost>
Advertisement
Add Comment
Please, Sign In to add comment