gpt4 book ai didi

Prohibit access to server(禁止访问服务器)

转载 作者:bug小助手 更新时间:2023-10-25 17:51:50 25 4
gpt4 key购买 nike



I setup a website at website.com that requests data from a server via the subdomain sub.domain.com where an A-Record points to the IP of the Server.

我在WebSite.com上建立了一个网站,通过子域sub.domain.com从服务器请求数据,其中A记录指向服务器的IP。


How can I allow only requests that are coming from Website.com (when people access Website.com and do stuff) and prohibit all other IPs?

我怎么才能只允许来自WebSite.com的请求(当人们访问WebSite.com和做事情时),而禁止所有其他IP?


I've setup nginx as a reverse proxy with letsencrypt/ssl for the sub.domain.com.

我已经将nginx设置为一个反向代理,并使用sub.domain.com的letsEncrypt/SSL。


更多回答
优秀答案推荐
更多回答

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com