Home
Sign Up
Sign In
V2EX = way to explore
V2EX 是一个关于分享和探索的地方
Sign Up Now
For Existing Member
Sign In
V2EX
›
问与答
nginx 配置迁移遇到的一个奇怪问题
Achilless
·
Nov 18, 2022
· 499 views
This topic created in 1269 days ago, the information mentioned may be changed or developed.
两边都是容器启动的 nginx 集群,版本和镜像一样
同一个域名的配置文件,域名部分配置如下
server_name
a.example.com
,
b.example.com
;
同样内容 copy 到另一台同样版本的 nginx 集群后,发现 curl
a.example.com
找不到域名
最后修改配置成这样就可以了
server_name
a.example.com
;
server_name
b.example.com
;
有没有大神解惑~
No Comments Yet
Nginx
域名
集群
配置
About
·
Help
·
Advertise
·
Blog
·
API
·
FAQ
·
Solana
·
1278 Online
Highest 6679
·
Select Language
创意工作者们的社区
World is powered by solitude
VERSION: 3.9.8.5 · 277ms ·
UTC 23:54
·
PVG 07:54
·
LAX 16:54
·
JFK 19:54
♥ Do have faith in what you're doing.
❯