让nginx服务器上的某个页面只有指定ip才能访问,只需要在server内添加如下字段即可.
server
{
location /nginxallstatus {
stub_status on;
allow 60.195.252.106;
access_log on;
deny all;
}
}
让nginx服务器上的某个页面只有指定ip才能访问,只需要在server内添加如下字段即可.
server
{
location /nginxallstatus {
stub_status on;
allow 60.195.252.106;
access_log on;
deny all;
}
}
报错: ``` nginx: [emerg] dlopen() "/opt/nginx/modules/ngx_http_brotli_filter_module.so" failed (libbrotlienc.so.1: cannot open shared object file: No su...
报错如下: ``` nginx: [emerg] module "/opt/nginx/modules/ngx_http_brotli_filter_module.so" version 1028001 instead of 1026002 in /opt/nginx/conf/nginx.conf...
成为第一个评论的人吧!