系统运维
1,首先编辑nginx.conf配置文件建(标红部分)
server {
listen 80;
server_name xxxxx;
location / {
root html;
index index.html index.htm;
}
2,通过htpasswd命令生成用户名及对应密码文件。
mkdir /usr/local/nginx
htpasswd -c /usr/local/nginx/passwd admin ####创建认证信息,admin 为认证用户名
New password: ******* ####输入认证密码
Re-type new password: ******** ####再次输入认证密码
Adding password for user admin
cat /usr/local/nginx/passwd ####可以看到通过htpasswd生成的密码为加密格式
3,重启nginx
nginx -s reload 
售后响应及时
7×24小时客服热线
数据备份
更安全、更高效、更稳定
价格公道精准
项目经理精准报价不弄虚作假
合作无风险
重合同讲信誉,无效全额退款