标签:apach ip限制 class sed sudo admin util etc span
//修改server配置文件 allow 192.168.137.2; deny all;
auth_basic "Admin only" auth_basic_user_file /etc/nginx/.htpassed
//安装htpasswd sudo apt install apach2-utils sudo htpasswd -c /etc/nginx/.htpasswd admin
标签:apach ip限制 class sed sudo admin util etc span
原文地址:https://www.cnblogs.com/fenle/p/10995006.html