Giter Club home page Giter Club logo

Comments (6)

jyaworski avatar jyaworski commented on September 13, 2024

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.

dkossako avatar dkossako commented on September 13, 2024

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.

dkossako avatar dkossako commented on September 13, 2024

There is missing change in WEB-INF/web.xml to allow HTTP -> HTTPS redirect, like described here:

https://confluence.atlassian.com/adminjiraserver071/running-jira-applications-over-ssl-or-https-802593051.html

from puppet-jira.

sacres avatar sacres commented on September 13, 2024

@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.

ericlaflamme avatar ericlaflamme commented on September 13, 2024

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

#205

from puppet-jira.

oranenj avatar oranenj commented on September 13, 2024

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)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.