跳转到内容
View in the app

A better way to browse. Learn more.

彼岸论坛

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.
欢迎抵达彼岸 彼岸花开 此处谁在 -彼岸论坛

[NGINX] [求助大佬] Nginx 反代多个网站出现串站问题

发表于

使用宝塔面板 8.2.0 、Nginx1.22.1 ,系统为 Ubuntu 20.04LTS

操作:使用 Nginx 反代了三个网站

网站一为:map.~.com → 81 端口,开启 https

网站二为:frp.~.com → 7800 端口,未开启 https

网站三为:r730test.~.com → 81 端口,未开启 https

其中 81 端口为 frps 的 http 端口,map.~.com 和 r730test.~.com 都是部署在内网,用 frp 穿透出来的,7800 是 frp 的监控面板端口

问题:现在访问 map.~.com 是正常的,但是访问 frp.~.com 和 r730test.~.com 会被跳转到 https://frp.~.com/和 https://r730test.~.com/ ,而且显示的是 map.~.com 的内容

在添加 map.~.com 的反代之前都是正常的,添加了 map.~.com 的反代之后就出问题了

66a6045bd9c307b7e99d6819.png

Nginx 配置文件如下

https://pastecode.io/s/uni4h5f6

https://pastecode.io/s/80nxwxhx

https://pastecode.io/s/0j74wdcn

Featured Replies

No posts to show

创建帐户或登录来提出意见

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.