Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

502 proxy error with reverse proxy using apache

Hi

 

I did everything in this article to try to enable SSL in my jira server installation:

https://confluence.atlassian.com/kb/proxying-atlassian-server-applications-with-apache-http-server-mod_proxy_http-806032611.html

 

I want the jira to be accessible with URL suporte.mydomain.com, so apache configuration looks like:

 

<VirtualHost *:80>
ServerName suporte.mydomain.com
Redirect Permanent / https://suporte.mydomain.com
</VirtualHost>


<VirtualHost *:443>
ServerName suporte.mydomain.com
ProxyRequests Off
ProxyVia Off

<Proxy *>
Require all granted
</Proxy>

SSLProxyEngine on
<Location />
ProxyPass https://suporte.mydomain.com
ProxyPassReverse https://suporte.mydomain.com:8080
</Location>

SSLEngine ON
SSLCertificateFile mysslpath/cert.pem
SSLCertificateKeyFile mtsslpath/privkey.pem
SSLCertificateChainFile mysslpat/chain.pem
</VirtualHost>

 

In server.xml I commented the default connector and uncommented the HTTPS proxy connector, so it looks like:

<Connector port="8080" relaxedPathChars="[]|" relaxedQueryChars="[]|{}^&#x5c;&#x60;&quot;&lt;&gt;"
maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="HTTP/1.1" useBodyEncodingForURI="true" redirectPort="8443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false" secure="true" scheme="https"
proxyName="suporte.mydomain.com" proxyPort="443"/>

 

I restarted htttp and jira services, but when I try to access suporte.mydomain.com, I got the following error with 502 HTTP code.

Proxy Error

The proxy server received an invalid response from an upstream server.
The proxy server could not handle the request GET /.

Reason: Error reading from remote server

 

If I access http://suporte.mydomain.com:8080 jira opens as usual, with some login/sesison issues (users are logged out immediatly after logging in).

What am I doing wrong?

1 answer

1 accepted

0 votes
Answer accepted

I double checked my apache configuration and it is working now.

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
SERVER
VERSION
8.9
TAGS
Community showcase
Published in Jira Service Management

JSM June Challenge #2: Share how your business teams became ITSM rockstars

For JSM June Challenge #2, share how your non-technical teams like HR, legal, marketing, finance, and beyond started using Jira Service Management! Tell us: Did they ask to start using it or...

200 views 6 7
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you