apache-2.2 – 使用NGINX安装SVN服务器
发布时间:2020-08-05 10:47:51 所属栏目: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中 (编辑:莱芜站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
相关内容
- php – Nginx在Windows上指向Docker的错误目录
- 我使用自制软件来安装nginx,以及如何添加第3个模块?
- 如何阻止访问我的网络服务器上的.svn /条目?
- node.js-端口号未隐藏在Nginx反向代理中(下一个JS服务器)
- pfSense NAT和nginx – 日志中未显示真实IP
- php – 负载均衡:Nginx,Varnish和HTTP会话
- ubuntu – Nginx默认页面的自定义状态代码
- 在Ubuntu 10.04上使用Nginx设置龙卷风,供生产使用
- cakephp – 如何使nginx缓存重写资产?
- reactjs – react.js应用程序显示在nginx服务器中找不到404
推荐文章
站长推荐
- php-当客户端使用HTTP / 1.1时,为什么$_SERVER [
- ruby-on-rails-使用Passenger和Nginx将Rails应用
- php-Nginx损坏了下载的文件
- python-Ngnix Gunicorn Flask:如何找出真正的基
- nginx-重启时Docker容器IP是否会更改?
- symfony-使用Nginx无效更新symlink静态文件
- 从django gunicorn nginx安装程序向外部URL发送P
- 配置nginx以记录原始请求者IP(而不是转发代理的I
- nginx – SPDY是否会改善非SPDY CDN提供的资产交
- nginx – 基于url将流量重定向到不同的ip地址维护
热点阅读