location / {
index index.php index.html;
if ( $http_host !~* ^127\.0\.0\.1) {
return 403;
}
autoindex on;
}
配置nginx.autoindex 访问限制
最新推荐文章于 2023-03-28 16:20:06 发布
location / {
index index.php index.html;
if ( $http_host !~* ^127\.0\.0\.1) {
return 403;
}
autoindex on;
}