标签 nginx 下的文章

This directive appeared in version 1.19.4.

If enabled, SSL handshakes in the server block will be rejected.

For example, in the following configuration, SSL handshakes with server names other than example.com are rejected:

server {
    listen               443 ssl default_server;
    ssl_reject_handshake on;
}

server {
    listen              443 ssl;
    server_name         example.com;
    ssl_certificate     example.com.crt;
    ssl_certificate_key example.com.key;
}

LNMP无法删除或更改权限,显示:rm: cannot remove `.user.ini': Operation not permitted
无法删除“.user.ini”文件解决方法,运行后删除即可

chattr -i /home/wwwroot/yoursite/.user.ini
如果是需要修改文件,记得修改完以后运行:

chattr +i /home/wwwroot/yoursite/.user.ini