Mercurial > kallithea
changeset 2748:dfb15c8ee63f beta
Added example of root directive for serving static files via nginx
author | Marcin Kuzminski <marcin@python-works.com> |
---|---|
date | Mon, 27 Aug 2012 23:33:43 +0200 |
parents | cdce3d7282b2 |
children | 3ed4dae499d0 |
files | docs/setup.rst |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/docs/setup.rst Mon Aug 27 10:15:36 2012 +0200 +++ b/docs/setup.rst Mon Aug 27 23:33:43 2012 +0200 @@ -540,7 +540,10 @@ #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; }