Lets make X-Forwarded support easier to implement for Jetty Distribution.

Enhancement request filed:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=487277

Commit to [jetty-9.3.x] completed
http://git.eclipse.org/c/jetty/org.eclipse.jetty.project.git/commit/?h=jetty-9.3.x&id=90efbe62c8b8580e6e864f59cdf9ea42c10c44fd

It should show up in Jetty 9.3.8 release (due "soon")
This would make enabling X-Fowarded be like this ...

$ cd /path/to/myjettybase
$ java -jar /path/to/jetty-dist/start.jar --add-to-startd=http-forwarded

And optionally set some properties ...
$ edit start.d/http-forwarded.ini

Entirely contained configuration in your ${jetty.base}


Joakim Erdfelt / [email protected]

On Thu, Feb 4, 2016 at 9:50 AM, Kevin Foote <[email protected]> wrote:

>
>
> > On Feb 4, 2016, at 8:19 AM, Thomas Zwirner <[email protected]> wrote:
> >
> > Hello from germany,
> >
> > i try to run a Shibboleth-IdP on Jetty behind Apache. Shibboleth-IdP
> alone run without problems if i start Apache and Jetty separated. My goal
> now is to use mod_proxy_http to forward requests from Apache on
> https://www.example.org/idp/ to Jetty on internal Port 8080.
> >
> > I followed the instructions here:
> https://wiki.shibboleth.net/confluence/display/IDP30/Running+the+IdP+on+Jetty+behind+Apache+httpd
> - but with no success.
> >
> > What i use:
> > CentOs 7.3 with all updates
> > Jetty 9.3.6
> > Apache 2.4
> > Shibboleth-IdP 3.2.1
> >
> > The local command "curl http://localhost:8080/idp"; ends up in "curl:
> (52) Empty reply from server". Same result is visible on request from
> extern via https://www.example.org/idp/
> >
> > Neither the Jetty-Log nor the Shibboleth-Logfile show any signs to this
> requests. The Jetty-Request-Log is empty.
>
> Hi Thomas,
>
> Following the doc does work - note they are specifying Jetty 9.2. This is
> exactly what I have running locally.
> I am not sure if anything has changed in the 9.3 release that would
> confuse these settings but that might be the case.
>
> Also have you included the x-forwardedfor configuration as well?
> Are you seeing the IdP actually startup? check your idp-process.log
>
> I still need to upgrade to the 9.3 container but 9.2 seems to work well
> for now.
>
> --------
> thanks
>  kevin.foote
>
> _______________________________________________
> jetty-users mailing list
> [email protected]
> To change your delivery options, retrieve your password, or unsubscribe
> from this list, visit
> https://dev.eclipse.org/mailman/listinfo/jetty-users
>
_______________________________________________
jetty-users mailing list
[email protected]
To change your delivery options, retrieve your password, or unsubscribe from 
this list, visit
https://dev.eclipse.org/mailman/listinfo/jetty-users

Reply via email to