通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
nbweb
V2EX  ›  VPS

网站套 cloudflare 之后,用 vps 的 ip 也能访问网站,如何禁止?

  •  
  •   nbweb · Sep 8, 2021 · 1065 views
    This topic created in 1735 days ago, the information mentioned may be changed or developed.

    vps 上就只有一个小网站,套了 CF,昨天突然发现,直接输入 vps 的 ip,也能打开网站。要在 nginx 里面如何设置一下?

    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Solana   ·   3195 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 28ms · UTC 14:10 · PVG 22:10 · LAX 07:10 · JFK 10:10
    ♥ Do have faith in what you're doing.