Skip to main content

Notice: this Wiki will be going read only early in 2024 and edits will no longer be possible. Please see: https://gitlab.eclipse.org/eclipsefdn/helpdesk/-/wikis/Wiki-shutdown-plan for the plan.

Jump to: navigation, search

Talk:Jetty/Tutorial/Apache

Revision as of 19:54, 17 October 2011 by Ollitech.gmail.com (Talk | contribs) (Using behind Apache with SSL)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Using behind Apache with SSL

I followed the instructions on this page, http://wiki.eclipse.org/Jetty/Tutorial/Apache#Proxying_SSL_on_Apache_to_HTTP_on_Jetty and set the X-Forwarded-Proto in apache, and Set the forwarded parameter in jetty.xml.

But somehow the application (bamboo) is still using http for (some?) redirects. in apache config, RequestHeader set X-Forwarded-Proto https

  1. builds -> BAMBOO

ProxyPass /builds http://meserver:8085/builds ProxyPassReverse /builds http://meserver:8085/builds

and Jetty (tried using custom connector that overrides custommize, as well as ChannelSelectorConnector)


  <Call name="addConnector">
       <Arg>
           <New class="com.lmig.ets.forge.bamboo.CustomBambooHttpsConnector">
               <Set name="host"><Property name="jetty.host" /></Set>
               <Set name="port"><Property name="jetty.port" default="8085"/></Set>
               <Set name="forwarded">true</Set>
            </New>
       </Arg>
   </Call>

Copyright © Eclipse Foundation, Inc. All Rights Reserved.