##// END OF EJS Templates
handle case of rewrite without an gistid in nginx example
marcink -
r3852:eae62e28 beta
parent child Browse files
Show More
@@ -551,9 +551,8 b' Sample config for nginx using proxy::'
551 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;
551 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;
552 ssl_prefer_server_ciphers on;
552 ssl_prefer_server_ciphers on;
553
553
554 location / {
554 rewrite ^/(.+)$ https://rhodecode.myserver.com/_admin/gists/$1;
555 rewrite ^/(.*) https://rhodecode.myserver.com/_admin/gists/$1;
555 rewrite (.*) https://rhodecode.myserver.org/_admin/gists;
556 }
557 }
556 }
558
557
559 server {
558 server {
General Comments 0
You need to be logged in to leave comments. Login now