Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

I have a problem with reverse proxy

jaeguen shin June 14, 2018

Hello, I'm a jira user.

 

I follow your document 

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

to set reverse proxy for our company's jira.

 

But there is an error and I read the following document

https://confluence.atlassian.com/jirakb/jira-displays-an-error-banner-about-the-incorrect-tomcat-config-939940652.html 

 

I tried my best to solve a problem, but it doesn't work.

I don't have an idea what the problem is. 

 

I want to show you log file and configuration file. How can I contact you?

 

Thank you.

3 answers

0 votes
Heshan Manamperi
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.
June 15, 2018

If you can provide answers for below, I might able to help you. 

  • Which apache version you are using?
  • Are you using confluence and apache proxy in same server?
  • If possible please share the content of the server.xml and apache2/vhosts/<relavant conf file>.conf
jaeguen shin June 17, 2018

1. I can't find the version, but it should be latest version. 

 

2. Yes, I use jira, confluence, apache proxy in same server.

 

3. *** is our company's name. I change it for security.

server.xml: 

<Connector port="8080" maxThreads="150" minSpareThreads="25" connectionTimeout="20000" enableLookups="false"
maxHttpHeaderSize="8192" protocol="org.apache.coyote.http11.Http11NioProtocol" URIEncoding="UTF-8"
useBodyEncodingForURI="true" redirectPort="8443"
acceptCount="100" disableUploadTimeout="true" bindOnInit="false" scheme="http"
proxyName="jira.***.kr" proxyPort="80"/>

 

-----------------------------

I use ubuntu 16.04, I made a conf file at sites-enabled directory.

<VirtualHost *:80>

    ServerName jira.***.kr

   

    ProxyRequests Off

    ProxyVia Off

    

    <Proxy *>

         Require all granted

    </Proxy>

 

    ProxyPass /jira http://jira.***.kr:8080

    ProxyPassReverse /jira http://jira.***.kr:8080

</VirtualHost>

 

<VirtualHost *:80>

    ServerName wiki.***.kr

    

    ProxyRequests Off

    ProxyVia Off

    

    <Proxy *>

         Require all granted

    </Proxy>

 

    ProxyPass /confluence http://wiki.***.kr:8090

    ProxyPassReverse /confluence http://wiki.**.kr:8090

</VirtualHost>

Gavin McDonald June 18, 2018

Try changing to:-

 

   ProxyPass /confluence http://wiki.***.kr:8090/confluence

    ProxyPassReverse /confluence http://wiki.**.kr:8090/confluence

 

and same for jira.

0 votes
Moses Thomas
Community Champion
June 15, 2018

@jaeguen shinWhat kind of errors are you  geting ?

jaeguen shin June 17, 2018

I want to access jira by jira.***.kr, confluence by wiki.***.kr

I use jira at port 8080, confluence at 8090.

 

I configure files like below. If I access jira.***.kr, it goes to ubuntu apache base page. 

If I access jira.***.kr:8080, it goes to jira page, and make a error.

https://confluence.atlassian.com/jirakb/jira-displays-an-error-banner-about-the-incorrect-tomcat-config-939940652.html

The error message is exactly same above.

0 votes
Gavin McDonald June 15, 2018

Are you able to post the error message without revealing any private information, knowing what the error is will help narrow things down a bit.

 

Im sure you have read :-

 

http://httpd.apache.org/docs/2.4/howto/reverse_proxy.html

 

but link it here just in case.

jaeguen shin June 17, 2018

Thank you for your link, I didn't read it.

 

I want to access jira by jira.***.kr, confluence by wiki.***.kr.

I use jira at port 8080, confluence at 8090.

 

If I access jira.***.kr, it goes to ubuntu apache default page. 

If I access jira.***.kr:8080, it goes to jira page, and make a error.

https://confluence.atlassian.com/jirakb/jira-displays-an-error-banner-about-the-incorrect-tomcat-config-939940652.html

The error message is exactly same above.

 

Is this enough information? If not, please tell me what to add

Suggest an answer

Log in or Sign up to answer
TAGS
Atlassian, Team '25 Europe, Atlassian conference, AI-powered teamwork, Atlassian events, keynote speakers, Barcelona tech conference, Atlassian Williams Racing, Carlos Sainz, Jenson Button, Mike Cannon-Brookes, Anu Bharadwaj, Atlassian Rovo

Atlassian Williams Racing is coming to Team '25 Europe 🏎️

Discover the teamwork and precision behind success on and off the track. See how this high-performing team makes the impossible possible. Be one of the first 100 customers to register for a chance to win 2 tickets to an Atlassian Williams 2026 race.

Register now
AUG Leaders

Atlassian Community Events