svn commit的时候返回
unexpected http status 502 'bad gateway' on
在nginx中代理svn中添加
location /svn {
set $fixed_destination $http_destination;
if ( $http_destination ~* ^https(.*)$ ) {
set $fixed_destination http$1;
}
proxy_set_header Destination $fixed_destination;
proxy_set_header Host $http_host;
}
配置后即可正常提交