Apache2 proxy problem

Azure April 21, 2016

Hi

I have problems with my apache2 proxy. The dashbaord and issue of project can not correctly loaded. Rest is ok (projects, users, admin mode...)

dashboard.png

My configuration:

 

HTTPS <==> Proxy <==> HTTP <==> Tomcat

&lt;VirtualHost _default_:443&gt;
   ....

    ProxyRequests Off
    ProxyPreserveHost On
    
    &lt;Proxy *&gt;
        Require all granted
    &lt;/Proxy&gt;
        
    ProxyPass           /    http://localhost:8080/
    ProxyPassReverse /    http://localhost:8080/

    &lt;Location /&gt;
        Require all granted
    &lt;/Location&gt;
&lt;/VirtualHost&gt;

 

Server.xml

&lt;Connector acceptCount="100" connectionTimeout="20000" disableUploadTimeout="true" enableLookups="false" maxHttpHeaderSize="8192" 
        maxThreads="150" minSpareThreads="25" port="8080" protocol="HTTP/1.1" redirectPort="8443" useBodyEncodingForURI="true" 
        proxyName="jira.tem.ch" proxyPort="443" scheme="https" secure="true" /&gt;

 

Any ideas?

Peter

2 answers

0 votes
Azure April 24, 2016

I solved. It was a firewall issue.

Thx, Peter

0 votes
Jonas Andersson
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
April 21, 2016

This is not a complete solution, but might help you get where you need to be.

I would replace the localhost in the ProxyPass and Reverse, with the real hostname of the box.

Additionally, when setting up application links it might help you to bypass the proxy. So leave the proxy in place for external visitors, but in the application links you set http://hostname.bla.bla:8080/

 

Suggest an answer

Log in or Sign up to answer