用htpasswd给nginx加个密码,不加的话出了500错误

./htpasswd -c /tmp/htpasswd nginx  

http://192.168.0.72:81/nginx  

 Active connections: 1

server accepts handled requests

13 13 146

Reading: 0 Writing: 1 Waiting: 0  

你可能感兴趣的:(nginx,server)