@@ -514,6 +514,23 @@ Password to access java keystore. Defaults to 'changeit'
514514
515515Defaults to 'JKS'. Valid options are 'JKS', 'PKCS12', 'JCEKS'.
516516
517+ ##### ` $tomcat_additional_connectors `
518+
519+ Well-formed, complex Hash where each key represents a port number and the key's
520+ value is a hash whose key/value pairs represent the attributes and their values
521+ that define the connector's behaviour. Default is ` {} ` .
522+
523+ Use this parameter to specify arbitrary, additional connectors with arbitrary
524+ attributes. There are no defaults here, so you must take care to specify all
525+ attributes a connector requires to work in Jira. See below for examples.
526+
527+ This is useful if you need to access your Jira instance directly through an
528+ additional HTTP port, e.g. one that is not configured for reverse proxy use.
529+ Atlassian describes use cases for this in
530+ https://confluence.atlassian.com/kb/how-to-create-an-unproxied-application-link-719095740.html
531+ and
532+ https://confluence.atlassian.com/kb/how-to-bypass-a-reverse-proxy-or-ssl-in-application-links-719095724.html
533+
517534#### Crowd single sign on parameters
518535
519536#### ` enable_sso `
@@ -562,15 +579,53 @@ Some more crowd.properties for SSO, see atlassian documentation for details
562579
563580``` puppet
564581 class { 'jira':
565- version => '6.0.1',
566- installdir => '/opt/atlassian-jira',
567- homedir => '/opt/atlassian-jira/jira-home',
568- user => 'jira',
569- group => 'jira',
570- dbpassword => 'secret',
571- dbserver => 'localhost',
572- javahome => '/opt/java/jdk1.7.0_21/',
573- download_url => 'http://myserver/pub/development-tools/atlassian/',
582+ version => '6.0.1',
583+ installdir => '/opt/atlassian-jira',
584+ homedir => '/opt/atlassian-jira/jira-home',
585+ user => 'jira',
586+ group => 'jira',
587+ dbpassword => 'secret',
588+ dbserver => 'localhost',
589+ javahome => '/opt/java/jdk1.7.0_21/',
590+ download_url => 'http://myserver/pub/development-tools/atlassian/',
591+ tomcat_additional_connectors => {
592+ # Define two additional connectors, listening on port 8081 and 8082
593+ 8081 => {
594+ 'relaxedPathChars' => '[]|',
595+ 'relaxedQueryChars' => '[]|{}^\`"<>',
596+ 'maxThreads' => '150',
597+ 'minSpareThreads' => '25',
598+ 'connectionTimeout' => '20000',
599+ 'enableLookups' => 'false',
600+ 'maxHttpHeaderSize' => '8192',
601+ 'protocol' => 'HTTP/1.1',
602+ 'useBodyEncodingForURI' => 'true',
603+ 'redirectPort' => '8443',
604+ 'acceptCount' => '100',
605+ 'disableUploadTimeout' => 'true',
606+ 'bindOnInit' => 'false',
607+ },
608+ # This additional connector is configured for access from a reverse proxy
609+ 8082 => {
610+ 'relaxedPathChars' => '[]|',
611+ 'relaxedQueryChars' => '[]|{}^\`"<>',
612+ 'maxThreads' => '150',
613+ 'minSpareThreads' => '25',
614+ 'connectionTimeout' => '20000',
615+ 'enableLookups' => 'false',
616+ 'maxHttpHeaderSize' => '8192',
617+ 'protocol' => 'HTTP/1.1',
618+ 'useBodyEncodingForURI' => 'true',
619+ 'redirectPort' => '8443',
620+ 'acceptCount' => '100',
621+ 'disableUploadTimeout' => 'true',
622+ 'bindOnInit' => 'false',
623+ 'proxyName' => 'jira2.example.com',
624+ 'proxyPort' => '443',
625+ 'scheme' => 'https',
626+ 'secure' => true,
627+ },
628+ }
574629 }
575630```
576631
@@ -611,6 +666,21 @@ jira::proxy:
611666 proxyName : ' jira.example.co.za'
612667 proxyPort : ' 443'
613668jira::contextpath : ' /jira'
669+ jira::tomcat_additional_connectors :
670+ 8181 :
671+ relaxedPathChars : ' []|'
672+ relaxedQueryChars : ' []|{}^\`"<>'
673+ maxThreads : ' 150'
674+ minSpareThreads : ' 25'
675+ connectionTimeout : ' 20000'
676+ enableLookups : ' false'
677+ maxHttpHeaderSize : ' 8192'
678+ protocol : ' HTTP/1.1'
679+ useBodyEncodingForURI : ' true'
680+ redirectPort : ' 8443'
681+ acceptCount : ' 100'
682+ disableUploadTimeout : ' true'
683+ bindOnInit : ' false'
614684` ` `
615685
616686These additional and substituted parameters are used in production in an
0 commit comments