svn提交找不到指定路径_svn使用nginx提交失败:找不到路径

在使用Nginx作为SVN服务器的代理时,遇到提交文件时找不到指定路径的错误。配置如下:通过proxy_pass指向Apache的81端口。虽然可以通过`svn co`和`svn up`操作,但在尝试`svn ci`时出现错误提示文件过时且路径未找到。直接通过Apache的81端口进行操作则没有问题。寻求解决在Nginx环境下SVN提交失败的问题。
摘要由CSDN通过智能技术生成

我在我的nginx webserver上构建了svn服务器 . 我的nginx配置是

server {

listen 80;

server_name svn.mysite.com;

location / {

access_log off;

proxy_pass http://svn.mysite.com:81;

proxy_set_header X-Real-IP $remote_addr;

proxy_set_header Host $host;

proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;

}

location ~ \.php$ {

fastcgi_pass 127.0.0.1:9000;

fastcgi_index index.php;

include fastcgi_params;

}

}

现在,我可以 svn co 和 svn up 通常没有任何问题,当我尝试提交我得到错误:

$svn up

At revision 1285.

$ svn info

Path: .

URL: http://svn.mysite.com/elpis-repo/crons

Repository Root: http://svn.mysite.com/elpis-repo

Repository UUID: 5303c0ba-bda0-4e3c-91d8-7dab350363a1

Revision: 1285

Node Kind: directory

Schedule: normal

Last Changed Author: alaa

Last Changed Rev: 1280

Last Changed Date: 2012-04-29 10:18:34 +0300 (Sun, 29 Apr 2012)

$svn st

M config.php

$svn ci -m "Just a test, add blank line to config" config.php

Sending config.php

svn: Commit failed (details follow):

svn: File 'config.php' is out of date

svn: '/elpis-repo/!svn/bc/1285/crons/config.php' path not found

如果我尝试在端口81(我的proxy_pass是apache)上svn co然后svn ci,它将顺利运行!但是当我使用nginx来完成它时为什么它不起作用?

任何想法都高度赞赏 .

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值