# HG changeset patch # User Marcin Kuzminski # Date 2012-08-27 21:33:43 # Node ID dfb15c8ee63ffa9d296076785da73d6607f7accd # Parent cdce3d7282b2140506b7bdce422b4c8fc47cf76a Added example of root directive for serving static files via nginx diff --git a/docs/setup.rst b/docs/setup.rst --- a/docs/setup.rst +++ b/docs/setup.rst @@ -540,7 +540,10 @@ Sample config for nginx using proxy:: #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; }