Changeset - dfb15c8ee63f
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2012-08-27 23:33:43
marcin@python-works.com
Added example of root directive for serving static files via nginx
1 file changed with 3 insertions and 0 deletions:
0 comments (0 inline, 0 general)
docs/setup.rst
Show inline comments
 
@@ -538,12 +538,15 @@ Sample config for nginx using proxy::
 
       #chunkin on;
 
       #error_page 411 = @my_411_error;
 
       #location @my_411_error {
 
       #    chunkin_resume;
 
       #}
 

	
 
       # uncomment if you want to serve static files by nginx
 
       #root /path/to/installation/rhodecode/public;
 
       
 
       location / {
 
            try_files $uri @rhode;
 
       }
 
    
 
       location @rhode {
 
            proxy_pass      http://rc;
0 comments (0 inline, 0 general)