Ferramentas do usuário

Ferramentas do site


tomcat:proxy_reverso

TomCat e Apache - Proxy Reverso

Ativar no Apache :

  # a2enmod proxy

No VirtualHost:

     ProxyRequests Off
     ProxyPass /sistema http://localhost:8081/sistema
     ProxyPassReverse /sistema http://localhost:8081/sistema
 
     <Location "/sistema">
         Order allow,deny
         Allow from all
     </Location>

Acrescentar no arquivo /etc/tomcat6/server.xml

     <Connector port="8081" protocol="HTTP/1.1" 
              connectionTimeout="20000" 
              URIEncoding="UTF-8"
              redirectPort="8443"
              proxyName="server.tic.ufrj.br"
              proxyPort="80" />
tomcat/proxy_reverso.txt · Última modificação: 27/04/2021 12:05 por 127.0.0.1

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki