V2EX = way to explore
V2EX 是一个关于分享和探索的地方
现在注册
已注册用户请  登录
通过以下 Referral 链接购买 DigitalOcean 主机,你将可以帮助 V2EX 持续发展
DigitalOcean - SSD Cloud Servers
nbweb
V2EX  ›  VPS

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

  •  
  •   nbweb · 2021-09-08 08:46:17 +08:00 · 551 次点击
    这是一个创建于 962 天前的主题,其中的信息可能已经有所发展或是发生改变。

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

    1 条回复    2021-09-08 11:42:26 +08:00
    关于   ·   帮助文档   ·   博客   ·   API   ·   FAQ   ·   我们的愿景   ·   实用小工具   ·   3178 人在线   最高记录 6543   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 00:11 · PVG 08:11 · LAX 17:11 · JFK 20:11
    Developed with CodeLauncher
    ♥ Do have faith in what you're doing.