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