Setup mod_proxy on apache http server

后端 未结 3 1859
慢半拍i
慢半拍i 2021-01-30 10:21

I wanted to reverse proxy a web service from my tomcat server using apache web server. I have modified the httpd.conf

LoadModule proxy_module modules/mod_proxy.         


        
3条回答
  •  面向向阳花
    2021-01-30 10:57

    Since it's easy to overlook, pay attention to @muka's comment:

    sudo a2enmod proxy  
    sudo a2enmod proxy_http  
    sudo service apache2 restart
    

    Make sure to enable both modules proxy and proxy_http!

提交回复
热议问题