Friday, January 1, 2016

svn - Nginx subversion commit failure

Hi I have trouble in committing php scripts to subverison. I am using Nginx web server to send request to apache server using mod_proxy setting of nginx for commiting files, svn checkout and updates works fine.





server {
listen 80;
server_name svn.server;
location / {
access_log off;

proxy_pass http://localhost:8081;
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 ~ ^/repos/.*.php$ {

fastcgi_pass 127.0.0.1:9000;

fastcgi_index index.php;
include fastcgi_params;
}


}

No comments:

Post a Comment

linux - How to SSH to ec2 instance in VPC private subnet via NAT server

I have created a VPC in aws with a public subnet and a private subnet. The private subnet does not have direct access to external network. S...