Changeset - eae62e28343e
[Not reviewed]
beta
0 1 0
Marcin Kuzminski - 13 years ago 2013-05-12 17:19:21
marcin@python-works.com
handle case of rewrite without an gistid in nginx example
1 file changed with 2 insertions and 3 deletions:
0 comments (0 inline, 0 general)
docs/setup.rst
Show inline comments
 
@@ -551,9 +551,8 @@ Sample config for nginx using proxy::
 
       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;
 
       ssl_prefer_server_ciphers on;
 

	
 
       location / {
 
           rewrite ^/(.*) https://rhodecode.myserver.com/_admin/gists/$1;
 
       }
 
       rewrite ^/(.+)$ https://rhodecode.myserver.com/_admin/gists/$1;
 
       rewrite (.*) https://rhodecode.myserver.org/_admin/gists;
 
    }
 

	
 
    server {
0 comments (0 inline, 0 general)