我有一个 Nginx 服务器,并禁用了隐藏文件 nginx_vhost.conf
## Disable .htaccess and other hidden files
location ~ /\. {
deny all;
access_log off;
log_not_found off;
}
Run Code Online (Sandbox Code Playgroud)
但是 LetsEncrypt 需要访问该 .well-known
目录。
如何允许.well-known
目录并拒绝其他隐藏文件?
最近我收到了很多Delivery Status Notification (Failure)
电子邮件。
虚假垃圾邮件被发送blablaxx@mydomain
到其他电子邮件地址,并info@mydomain
通过上述错误消息退回到我的全部内容。
当然,blablaxx@mydomain
电子邮件地址是不存在的,而 AFAICS 电子邮件是从不同的外国 IP 地址发送的。
我已经设置了 DNS txt SPF 记录,但这似乎没有多大帮助。
我还能做什么?