Re: subversion behind nginx

2017-10-06 Thread Александр Кириллов
rom: *Александр Кириллов > *Sent: *Friday, October 6, 2017 7:16 AM > *To: *nginx@nginx.org > *Reply To: *nginx@nginx.org > *Subject: *subversion behind nginx > > Hi, I have 2 almost identical vhost definitions: > > 1. https://svn.iproducts.test > > location /rep

Re: subversion behind nginx

2017-10-06 Thread duanemulder
HelloWith svn behind nginx you cannot change the path. The second location needs to be /repos as well=D

subversion behind nginx

2017-10-06 Thread Александр Кириллов
Hi, I have 2 almost identical vhost definitions: 1. https://svn.iproducts.test location /repos/ { set $dest $http_destination; if ($http_destination ~ ^https://(.*)$) { set $dest http://$1; } proxy_set_header Destination $dest; proxy_pass http://127.0.0.1:80/repos/; } 2. https://svn-test.iprod