apache-2.2 – 使用NGINX安装SVN服务器
发布时间:2020-08-05 03:20:52 所属栏目:Nginx 来源:互联网
导读:我正在尝试安装SVN服务器并将其与我的NGINX网络服务器一起使用.我试过这个在nginx / sites-enabled / svn的服务器部分中,我添加了这个 location /var/svn/repos { proxy_pass http://127.0.0.1:81; #include
我正在尝试安装SVN服务器并将其与我的NGINX网络服务器一起使用. location /var/svn/repos { proxy_pass http://127.0.0.1:81; #include /etc/nginx/proxy.conf; set $dest $http_destination; if ($http_destination ~ "^https://(.+)") { set $dest http://$1; } proxy_set_header Destination $dest; } 我在81端口运行apache $svn co http://svn.mysite.com/myrepo svn: Server sent unexpected return value (500 Internal Server Error) in response to OPTIONS request for 'http://svn.mysite.com/myrepo' 并在错误日志中我有这个 2012/04/18 07:43:36 [error] 9914#0: *106 rewrite or internal redirection cycle while internal redirect to "/index.html",client: 93.95.201.250,server: mysite.com,request: "GET /myrepo HTTP/1.1",host: "svn.mysite.com" 有谁知道如何在nginx上安装svn服务器? 在nginx.conf(或/etc/nginx/conf.d下的其他.conf文件)中:
然后在/etc/httpd/conf.d/subversion.conf中 (编辑:鲜蔬坊站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
推荐文章
站长推荐
- ruby-on-rails – 在ubuntu 14.04上使用passenge
- nginx – 如何部署我的Angular 2 Typescript Web
- Nginx无法从docker 1.10.1中的嵌入式DNS获取主机
- ubuntu – 如何通过不同的端口启动nginx(80以外的
- 如何使用nginx将请求代理到内部服务器?
- nginx – Php-Fpm 7服务器到达pm.max_children
- nginx – FastCGI缓存始终是MISS
- nginx vs lighttpd for wordpress
- Django,nginx,gunicorn,主管:UnicodeEncodeErro
- nginx – 仅允许某些国家/地区的流量访问特定页面
热点阅读