How to disable solr admin page

后端 未结 4 744
被撕碎了的回忆
被撕碎了的回忆 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:36

    sudo vim /opt/solr-4.8.1/example/etc/jetty.xml change

      
        
          
              
                0.0.0.0
                
                50000
                1500
                false
              
          
        
    

    to

     
        
          
              
                127.0.0.1
                
                50000
                1500
                false
              
          
        
    

    then sudo service solrd restart

提交回复
热议问题