Giter VIP home page Giter VIP logo

Comments (6)

dboitnot avatar dboitnot commented on July 29, 2024

Can you please provide some examples of what this would look like and in which XML files?

from tomcat.

gillfimj avatar gillfimj commented on July 29, 2024

This would be in the server.xml:

  <Connector port="8080" protocol="HTTP/1.1"
               proxyPort="443" scheme="https" secure="true" proxyName="lb-or-proxy.school.edu"
               connectionTimeout="20000"
               redirectPort="8443" />

from tomcat.

dboitnot avatar dboitnot commented on July 29, 2024

Is this something we could pull off with the tomcat_connector_extra_attrs variable?

from tomcat.

gillfimj avatar gillfimj commented on July 29, 2024

Maybe. Wasn't really sure what that variable was for. Would it look like this:

tomcat_connector_extra_attrs:
  - attribute: proxyPort
    value: 443
  - attribute: scheme
    value: https
  - attribute: proxyName
    value: lb-or-proxy.school.edu

And then that would get added to the before_ansible.sh as a /ansible/group_vars/all/dynamic_shared.yml. Am I close?

from tomcat.

gillfimj avatar gillfimj commented on July 29, 2024

Yes, this will work exactly as described above. Tested and confirmed. Thanks. Might want to add this as an example to the readme, though.

from tomcat.

dboitnot avatar dboitnot commented on July 29, 2024

I still thing it'd be good to add first-class support for this, but I can confirm that the workaround above does work.

from tomcat.

Related Issues (13)

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.