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