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
HelloWith svn behind nginx you cannot change the path. The second location needs to be /repos as well=D
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