Which protocol should I use to configure Tomcat to accept proxied requests

In section 2 of this document: https://confluence.atlassian.com/adminjiraserver072/integrating-jira-applications-with-iis-828788154.html#IntegratingJIRAapplicationswithIIS-configureiis

It said 

HTTP/1.1 Connector

If you are using the HTTP/1.1 Connector, you will need to add the following attributes to the Connector port in Tomcat's server.xml:

proxyName="mycompany.com" proxyPort="80"


Then immediately underneath it said:

Enable AJP/1.3 Connector in Tomcat: To allow Tomcat to accept requests for JIRA from IIS, edit the conf/server.xmlfile and ensure that the AJP/1.3 Connector is enabled (i.e. not commented out). To enable the AJP/1.3 Connector in a JIRA remove the comment symbols around the following section in the conf/server.xml file:

<Connector port="8009" enableLookups="false" redirectPort="8443" protocol="AJP/1.3" />

 

Which one do I use?  If I use HTTP/1.1 connector, what do I have to change in workers.properties.minimal file?

Please make this document more clear.

 

This is the content of workers.properties.minimal file. As you can see I do not know what I need to put in there if I use HTTP/1.1

 

# workers.properties.minimal -
#
# This file provides minimal jk configuration properties needed to
# connect to Tomcat.

 

#
# The workers that jk should create and work with.
#
worker.list=worker1

 

#
# Defining a worker named worker1 and of type ajp13.
# Note that the name and the type do not have to match.
#
worker.worker1.type=ajp13
worker.worker1.host=localhost
worker.worker1.port=8009


1 answer

So are you going to use the AJP1.3 connector as shown in the documentation?

If so, according to the way I read the documentation, you do not need to add any reference for the HTTP/1.1 connector.
In reading the Apache Tomcat documentation, workers.properties are only for use with AJP connectors.
https://tomcat.apache.org/connectors-doc/reference/workers.html
 

If I only want to use HTTP/1.1, do I need workers.properties.minimal file? What do I put in there for HTTP/1.1?

Suggest an answer

Log in or Join to answer
Community showcase
Sarah Schuster
Posted Jan 29, 2018 in Jira

What are common themes you've seen across successful & failed Jira Software implementations?

Hey everyone! My name is Sarah Schuster, and I'm a Customer Success Manager in Atlassian specializing in Jira Software Cloud. Over the next few weeks I will be posting discussion topics (8 total) to ...

3,181 views 13 19
Join discussion

Atlassian User Groups

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

Find a group

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

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you
Atlassian Team Tour

Join us on the Team Tour

We're bringing product updates and pro tips on teamwork to ten cities around the world.

Save your spot