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。
更多回答
优秀答案推荐
我是一名优秀的程序员,十分优秀!