Hey Guys,
Anyone have success configuring access to a subversion repository behind
nginx? I thought the following snippet would forward subversion calls
to the svn server… but I keep getting “…502 Bad Gateway…” Any
hints would be greatly appreciated.
location /svn {
proxy_pass http://127.0.0.1:80;
include /etc/nginx/proxy.conf;
set $dest $http_destination;
if ($http_destination ~ "^https://(.+)") {
set $dest http://$1;
}
proxy_set_header Destination $dest;
}
Sonny.