How to password protect Scrapyd UI?

主宰稳场 提交于 2019-12-04 19:41:07

You should bind address of the machine that is going to make calls.

If its the localhost which is going to make calls to the endpoints just bind it to 127.0.0.1 and voila, the address doesn't work for external ips.

As of scrapyd version 1.2.0 the default bind address is 127.0.0.1

To add a password protection use this gist which uses nginx as a reverse proxy to add basic authentication to scrapyd.

You may also check scrapyd-authenticated repository.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!