How to disable solr admin page

后端 未结 4 795
被撕碎了的回忆
被撕碎了的回忆 2021-02-06 04:44

For production, it feels unsafe to have a solr admin which even doesn\'t ask login credentials. How can I disable the solr admin page which comes by default? I simply want my we

4条回答
  •  半阙折子戏
    2021-02-06 05:43

    The most easy way:

    iptables -A INPUT -p tcp --dport 8983 -j DROP

    iptables -A INPUT -p tcp -s 127.0.0.1 --dport 8983 -j ACCEPT

    with this order!

提交回复
热议问题