aboutsummaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorMilo Casagrande <milo@ubuntu.com>2013-02-13 15:14:46 +0100
committerMilo Casagrande <milo@ubuntu.com>2013-02-13 15:14:46 +0100
commit83e7c03ba90a4120a47bdf93fb160701f12d2c59 (patch)
tree2baadeb3b34f10a3844b6ab0083657db8de82fd7 /config
parentbe2b23aada5508c138ab8b26d9adac014176faec (diff)
Small tweaks to Apache conf.
Diffstat (limited to 'config')
-rw-r--r--config/rhodecode11
1 files changed, 9 insertions, 2 deletions
diff --git a/config/rhodecode b/config/rhodecode
index 648da96..723ac6a 100644
--- a/config/rhodecode
+++ b/config/rhodecode
@@ -7,8 +7,15 @@
Allow from all
</Proxy>
- Alias /git-ro/ /opt/rhodecode/git_repos/
- Alias / /opt/rhodecode/git_repos/
+ # Directive to properly generate url (clone url) for pylons
+ ProxyPreserveHost On
+
+ #rhodecode instance
+ ProxyPass / http://127.0.0.1:5000/
+ ProxyPassReverse / http://127.0.0.1:5000/
+
+ # To enable https use line below
+ SetEnvIf X-Url-Scheme https HTTPS=1
</VirtualHost>
<VirtualHost *:443>