Show More
@@ -9,24 +9,24 b' Here is a sample configuration file for ' | |||
|
9 | 9 | ServerName hg.myserver.com |
|
10 | 10 | ServerAlias hg.myserver.com |
|
11 | 11 | |
|
12 |
## uncomment root directive if you want to serve static files by |
|
|
13 | ## requires static_files = false in .ini file | |
|
14 |
DocumentRoot /path/to/installation |
|
|
12 | ## uncomment root directive if you want to serve static files by | |
|
13 | ## Apache requires static_files = false in .ini file | |
|
14 | #DocumentRoot /path/to/rhodecode/installation/public | |
|
15 | 15 | |
|
16 | 16 | <Proxy *> |
|
17 | 17 | Order allow,deny |
|
18 | 18 | Allow from all |
|
19 | 19 | </Proxy> |
|
20 | 20 | |
|
21 |
# |
|
|
22 | #Directive to properly generate url (clone url) for pylons | |
|
21 | ## Important ! | |
|
22 | ## Directive to properly generate url (clone url) for pylons | |
|
23 | 23 | ProxyPreserveHost On |
|
24 | 24 | |
|
25 |
# |
|
|
26 |
ProxyPass / http://127.0.0.1: |
|
|
27 |
ProxyPassReverse / http://127.0.0.1: |
|
|
25 | ## RhodeCode instance running | |
|
26 | ProxyPass / http://127.0.0.1:10002/ | |
|
27 | ProxyPassReverse / http://127.0.0.1:10002/ | |
|
28 | 28 | |
|
29 | #to enable https use line below | |
|
29 | ## to enable https use line below | |
|
30 | 30 | #SetEnvIf X-Url-Scheme https HTTPS=1 |
|
31 | 31 | |
|
32 | 32 | </VirtualHost> |
@@ -7,11 +7,11 b' Use the following example to configure N' | |||
|
7 | 7 | |
|
8 | 8 | upstream rc { |
|
9 | 9 | |
|
10 |
server 127.0.0.1: |
|
|
10 | server 127.0.0.1:10002; | |
|
11 | 11 | |
|
12 | 12 | # add more instances for load balancing |
|
13 |
# server 127.0.0.1: |
|
|
14 |
# server 127.0.0.1: |
|
|
13 | # server 127.0.0.1:10003; | |
|
14 | # server 127.0.0.1:10004; | |
|
15 | 15 | } |
|
16 | 16 | |
|
17 | 17 | ## gist alias |
@@ -58,9 +58,10 b' Use the following example to configure N' | |||
|
58 | 58 | |
|
59 | 59 | ## uncomment root directive if you want to serve static files by nginx |
|
60 | 60 | ## requires static_files = false in .ini file |
|
61 |
# root /path/to/installation |
|
|
61 | # root /path/to/rhodecode/installation/public; | |
|
62 | 62 | |
|
63 | 63 | include /etc/nginx/proxy.conf; |
|
64 | ||
|
64 | 65 |
|
|
65 | 66 |
|
|
66 | 67 |
|
General Comments 0
You need to be logged in to leave comments.
Login now