svn commit的时候返回

unexpected http status 502 'bad gateway' on

解决方法,参考:https://stackoverflow.com/questions/2479346/502-bad-gateway-with-nginx-apache-subversion-ssl-svn-copy

在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;}

配置后即可正常提交