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