我已将我的网站设置为可通过 example.com 访问。如果可能的话,我想阻止它完全通过其 IP 访问或至少 301 将其重定向到网站。
前者是否可能,如果是,如何?
nginx routing ip
ip ×1
nginx ×1
routing ×1