Comments (6)
Initial findings: no.
We recommend using apache/nginx for this. We have this in the docs:
https://github.com/voxpupuli/puppet-jira#jira-prerequisites
Whilst not required, for production use we recommend using nginx/apache as a reverse proxy to JIRA. We suggest using the jfryman/nginx puppet module
from puppet-jira.
I found this setting:
https://github.com/voxpupuli/puppet-jira#tomcat_redirect_https_port
But it doesn't work (looks is not implemented):
templates/server.xml.erb: <Connector port="<%= @tomcatPort %>" templates/server.xml.erb: <%- if @tomcatAddress -%> templates/server.xml.erb: address="<%= @tomcatAddress %>" templates/server.xml.erb: maxThreads="<%= @tomcatMaxThreads %>" templates/server.xml.erb: acceptCount="<%= @tomcatAcceptCount %>" templates/server.xml.erb:<% if @tomcatNativeSsl -%> templates/server.xml.erb: redirectPort="<%= @tomcatHttpsPort %>"
Shouldn't be:
redirectPort="<%= @tomcat_redirect_https_port %>"
?
from puppet-jira.
There is missing change in WEB-INF/web.xml to allow HTTP -> HTTPS redirect, like described here:
from puppet-jira.
@djmentos This works as expected.
To be used with tomcat_native_ssl.
is the salient qualifier in the README
section you're referring to and also requires addressing JKS.
If you would like a production example of how to proxy via apache/nginx (SSL termination at proxy frontend and 80 -> 443 redir), I can provide you with that.
from puppet-jira.
Yes, it was working on jira6
jira::tomcat_native_ssl: true
jira::tomcat_redirect_https_port: '443'
All request sent to 80 and redirect to 8080 per iptables will be redirect to port 443. By default it will redirect to 8443 because it's the real port. Then I redirect 443 to 8443 with iptables.
I might work on the code for the web.xml for jira7.1
from puppet-jira.
I'm going to say that this is out of scope for now, given how old this issue is, and people really ought to be using a reverse proxy for this anyway.
from puppet-jira.
Related Issues (20)
- Add optional MySQL connection string options HOT 1
- Jira_facts deprecation warnings HOT 1
- jira::java_opts defined as YAML multiline block string generates incorrect JAVA_OPTS string in setenv.sh HOT 2
- server.xml - StuckThreadDetectionValve introduced in 7.6.12
- Drop Ubuntu 16.04, Add 18.04 instead
- 5.0.0 release summary
- Test with Puppet 7 and fresher OSes
- JIRA will not start if the installation directory mode is missing o+x HOT 2
- connection-settings parameter in dbconfig.xml template should be connection-properties instead
- Manage web.xml Config HOT 1
- Release a new Jira version
- Add manage_homedir support
- scheme written twice in server.xml when using tomcat_native_ssl and supplying proxy settings
- cluster node id is too long using fqdn
- AlmaLinux support
- Release v5.2.0 HOT 2
- cluster.properties.epp - soon to be deprecated code by Puppet 8 HOT 1
- JVM_OPENS not set for JIRA Java 17 support
- Optional[Integer[-1]] $pool_max_wait breaks with latest puppet agent (7.29 or 8.5) HOT 3
- Jira cluster and NGINX Plus as the load balancer
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from puppet-jira.