简体   繁体   English

使用Apache为鱼眼/坩埚设置反向代理

[英]setting up reverse proxy for fisheye/crucible using apache

I am trying to setup reverse proxy using apache for fisheye/crucible However, I am getting: 我正在尝试使用apache为鱼眼镜头/坩埚设置反向代理,但是,我得到了:

Service Unavailable 暂停服务

The server is temporarily unable to service your request due to maintenance downtime or capacity problems. 由于维护停机或容量问题,服务器暂时无法满足您的请求。 Please try again later. 请稍后再试。

What am I doing wrong? 我究竟做错了什么?

Here are the configuration files: 以下是配置文件:

end of the httpd.conf file httpd.conf文件的末尾

/etc/httpd/conf/httpd.conf /etc/httpd/conf/httpd.conf中

LoadModule proxy_module modules/mod_proxy.so
LoadModule proxy_connect_module modules/mod_proxy_connect.so
LoadModule proxy_http_module modules/mod_proxy_http.so


<Proxy *>
        Order deny,allow
        Allow from all
</Proxy>

ProxyRequests           Off
ProxyPass  / http://fisheye.example.com:8060/
ProxyPassReverse / http://fisheye.example.com:8060/

config.xml config.xml中

<web-server site-url="http://fisheye.example.com" context="/">
     <http bind=":8060" proxy-host="fisheye.example.com" proxy-port="80" proxy-scheme="http"/>
</web-server>

如果您使用的是Apache 2.4+,则可能需要将“ Allow from all更改为“ Require all granted -请参阅https://serverfault.com/a/549559/71216

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM