scrapyd 设置访问密码
https://cuiqingcai.com/5445.html
安装 nginx
找到配置文件
find / -name nginx.conf
修改
http { server { listen 6801; location / { proxy_pass http://127.0.0.1:6800/; auth_basic "Restricted"; auth_basic_user_file /etc/nginx/conf.d/.htpasswd; } } }
安装 htpasswd
https://www.jianshu.com/p/f4120aa561cc
生成密码
在/etc/nginx/conf.d目录下
htpasswd -c .htpasswd admin
启动 nginx
相关推荐
nginxs 2020-11-14
Guanjs0 2020-11-13
小木兮子 2020-11-11
yserver 2020-11-11
ssihc0 2020-11-11
windle 2020-11-10
HanksWang 2020-11-10
liuchen0 2020-11-10
Freshairx 2020-11-10
ccschan 2020-11-10
liwf 2020-11-10
Guanjs0 2020-11-09
AderStep 2020-11-09
zrtlin 2020-11-09
mqfcu 2020-11-10
windle 2020-10-29