Show More
@@ -125,7 +125,7 b' rhodecode.api.url = /_admin/api' | |||
|
125 | 125 | |
|
126 | 126 | full_stack = true |
|
127 | 127 | |
|
128 | ## Return gzipped responses | |
|
128 | ## return gzipped responses from Rhodecode (static files/application) | |
|
129 | 129 | gzip_responses = true |
|
130 | 130 | |
|
131 | 131 | # autogenerate javascript routes file on startup |
@@ -99,8 +99,8 b' use = egg:rhodecode-enterprise-ce' | |||
|
99 | 99 | |
|
100 | 100 | full_stack = true |
|
101 | 101 | |
|
102 | ## Serve static files via RhodeCode, disable to serve them via HTTP server | |
|
103 | static_files = true | |
|
102 | ## return gzipped responses from Rhodecode (static files/application) | |
|
103 | gzip_responses = true | |
|
104 | 104 | |
|
105 | 105 | # autogenerate javascript routes file on startup |
|
106 | 106 | generate_js_files = false |
@@ -9,9 +9,9 b' Here is a sample configuration file for ' | |||
|
9 | 9 | ServerName hg.myserver.com |
|
10 | 10 | ServerAlias hg.myserver.com |
|
11 | 11 | |
|
12 |
## uncomment |
|
|
13 | ## Apache requires static_files = false in .ini file | |
|
14 |
# |
|
|
12 | ## uncomment to serve static files by Apache | |
|
13 | ## ProxyPass /_static ! | |
|
14 | ## Alias /_static /path/to/rhodecode/installation/public | |
|
15 | 15 | |
|
16 | 16 | <Proxy *> |
|
17 | 17 | Order allow,deny |
@@ -56,11 +56,12 b' Use the following example to configure N' | |||
|
56 | 56 | ssl_ciphers DHE-RSA-AES256-SHA:DHE-RSA-AES128-SHA:EDH-RSA-DES-CBC3-SHA:AES256-SHA:DES-CBC3-SHA:AES128-SHA:RC4-SHA:RC4-MD5; |
|
57 | 57 | ssl_prefer_server_ciphers on; |
|
58 | 58 | |
|
59 | ## uncomment root directive if you want to serve static files by nginx | |
|
60 | ## requires static_files = false in .ini file | |
|
61 | # root /path/to/rhodecode/installation/public; | |
|
59 | include /etc/nginx/proxy.conf; | |
|
62 | 60 |
|
|
63 | include /etc/nginx/proxy.conf; | |
|
61 | ## uncomment to serve static files by nginx | |
|
62 | # location /_static { | |
|
63 | # alias /path/to/rhodecode/installation/public; | |
|
64 | # } | |
|
64 | 65 | |
|
65 | 66 | location / { |
|
66 | 67 | try_files $uri @rhode; |
General Comments 0
You need to be logged in to leave comments.
Login now