##// END OF EJS Templates
fixed docs
marcink -
r926:344f7485 rhodecode-0.0.1.1.1 default
parent child Browse files
Show More
@@ -226,27 +226,27 b' Apache virtual host example'
226
226
227 Sample config for apache using proxy::
227 Sample config for apache using proxy::
228
228
229 <VirtualHost *:80>
229 <VirtualHost *:80>
230 ServerName hg.myserver.com
230 ServerName hg.myserver.com
231 ServerAlias hg.myserver.com
231 ServerAlias hg.myserver.com
232
232
233 <Proxy *>
233 <Proxy *>
234 Order allow,deny
234 Order allow,deny
235 Allow from all
235 Allow from all
236 </Proxy>
236 </Proxy>
237
237
238 #important !
238 #important !
239 #Directive to properly generate url (clone url) for pylons
239 #Directive to properly generate url (clone url) for pylons
240 ProxyPreserveHost On
240 ProxyPreserveHost On
241
241
242 #rhodecode instance
242 #rhodecode instance
243 ProxyPass / http://127.0.0.1:5000/
243 ProxyPass / http://127.0.0.1:5000/
244 ProxyPassReverse / http://127.0.0.1:5000/
244 ProxyPassReverse / http://127.0.0.1:5000/
245
245
246 #to enable https use line below
246 #to enable https use line below
247 #SetEnvIf X-Url-Scheme https HTTPS=1
247 #SetEnvIf X-Url-Scheme https HTTPS=1
248
248
249 </VirtualHost>
249 </VirtualHost>
250
250
251
251
252 Additional tutorial
252 Additional tutorial
General Comments 0
You need to be logged in to leave comments. Login now