Home  >  Article  >  Backend Development  >  WEB服务器配置

WEB服务器配置

WBOY
WBOYOriginal
2016-06-06 20:38:59949browse

公司内网有3台服务器 一台LINUX 2台WIN

LINUX可以正常访问上面的站点

前几天重装的LINUX

怎样配置这台LINUX 让另外两台服务器上的网站也可以正常访问。

WEB服务器配置

回复内容:

公司内网有3台服务器 一台LINUX 2台WIN

LINUX可以正常访问上面的站点

前几天重装的LINUX

怎样配置这台LINUX 让另外两台服务器上的网站也可以正常访问。

WEB服务器配置

把你的那台linux服务器配置一个代理,将该转发的请求转发到让77和78就可以了。Nginx多serer反向代理

一般多服务器拆分分2种吧
1是垂直拆分,比如webserver和数据库,缓存分开
2是水平拆分,按项目分服务器
莫非你们数据库用的sql server和dlap跑在win里而webserver跑在linux?
如果是水平拆分,看看dns解析的是哪台服务器,然后一步步追查下去,
给的信息还是太少。

@brzhang 他的方案是对的,nginx配置代理服务器,外部请求先到linux服务器,然后转发给其他的两个windows服务器即可

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn