mashirochannel 最近的时间轴更新
mashirochannel

mashirochannel

V2EX 第 240104 号会员,加入于 2017-07-13 15:38:14 +08:00
mashirochannel 最近回复了
2018 年 1 月 2 日
回复了 mashirochannel 创建的主题 NGINX nginx 代理中 jsp 里 basepath 路径的问题
@salmon5 还是不行呢
2017 年 12 月 28 日
回复了 mashirochannel 创建的主题 NGINX nginx 代理中 jsp 里 basepath 路径的问题
@salmon5 表达能力确实很差。。
2017 年 12 月 28 日
回复了 mashirochannel 创建的主题 NGINX nginx 代理中 jsp 里 basepath 路径的问题
我是做了两次代理 第一次
服务器 A nginx 到 tomcat docker (因为 A 上有多个 tomcat 实例,所以要反代)
server {
listen 9090;
server_name xxx.xxx.com;
location / {
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_set_header X-Forwarded-Port $server_port;
proxy_pass http://xxx:8080;
}

}
服务器 B
第二次
listen 80 ;

server_name xxx2.xxx.com;

location / {
proxy_redirect off;
proxy_set_header Host xxx.xxx.com;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Proto $scheme;
proxy_pass http://xxx.xxx.com:9090;
}
如果直接从 B 带到 A 的 tomcat 是可以的,但是代了两次就不行了
2017 年 10 月 22 日
回复了 mashirochannel 创建的主题 问与答 putty 生成的密钥是不是只能在 putty 上用
@xupefei 好吧,谢谢提醒
关于   ·   帮助文档   ·   自助推广系统   ·   博客   ·   API   ·   FAQ   ·   Solana   ·   4827 人在线   最高记录 6679   ·     Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 20ms · UTC 09:55 · PVG 17:55 · LAX 01:55 · JFK 04:55
♥ Do have faith in what you're doing.