diff docs/setup.rst @ 3917:35c0c62583cd beta

Moved proxy include of nginx to place where it will work for older versions of nginx
author Marcin Kuzminski <marcin@python-works.com>
date Thu, 30 May 2013 01:47:03 +0200
parents eae62e28343e
children b367b016ee39
line wrap: on
line diff
--- a/docs/setup.rst	Thu May 30 00:29:23 2013 +0200
+++ b/docs/setup.rst	Thu May 30 01:47:03 2013 +0200
@@ -574,14 +574,13 @@
        ## uncomment root directive if you want to serve static files by nginx
        ## requires static_files = false in .ini file
        #root /path/to/installation/rhodecode/public;
-
+       include         /etc/nginx/proxy.conf;
        location / {
             try_files $uri @rhode;
        }
 
        location @rhode {
             proxy_pass      http://rc;
-            include         /etc/nginx/proxy.conf;
        }
 
     }