2

请教各位大佬,如何多个域名同一个 url 访问?

 2 years ago
source link: https://www.v2ex.com/t/846740
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
neoserver,ios ssh client

V2EX  ›  NGINX

请教各位大佬,如何多个域名同一个 url 访问?

  dgzting · 26 分钟前 · 143 次点击
说明:
1 、客户端通过 http://192.168.1.1:8000 反代到 a.com
2 、a.com 页面有 b.com 超链接。
3 、客户端不能直接访问 a.com,b.com
问题:
当客户端点击 b.com 超链接时,如何保持 url 的 192.168.1.1 不变,内容显示 b.com

About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK