[Deploying Sakai] Sakai over HTTPS + HAPROXY

Miguel Carro Pellicer mcarro at entornosdeformacion.com
Wed Jan 21 08:35:07 PST 2015


Thank you so much Sam, really appreciate your help.

Adding |<Valve 
className=||"org.apache.catalina.valves.RemoteIpValve"||protocolHeader=||"X-Forwarded-Proto"||/> 
|to the engine fixed the problem!

I promise to invite to some beers.

Miguel

El 21/01/2015 a las 17:26, Sam Ottenhoff escribió:
>
>
>
>     The referenced IPs are in a private network,
>
>     X.X.X.X are private IPs
>     XXXXX are the domain names.
>
>     X-Forwarded-Proto is set to https
>
>
> Do you have the Valve setup in Tomcat conf/server.xml?
>
> https://confluence.sakaiproject.org/display/DOC/Sakai+Admin+Guide+-+Advanced+Tomcat++%28and+Apache%29+Configuration
>
>
> The only possible explanation is that Tomcat is not receiving or not 
> trusting the X-Forwarded-Proto being set by the front-end.

-- 
Miguel Carro Pellicer
Logo 	

Miguel Carro 
Pellicer<http://es.linkedin.com/pub/miguel-carro-pellicer/38/502/b92>
/CTO Entornos de Formación S.L./

Phone: +34 - 686266485
Email: mcarro at entornosdeformacion.com 
<mailto:mcarro at entornosdeformacion.com>

No me imprimas si no es necesario. Protejamos el medio ambiente


AVISO LEGAL: El contenido de este mensaje de correo electrónico, 
incluidos los ficheros adjuntos, es confidencial y está protegido por el 
artículo 18.3 de la Constitución Española, que garantiza el secreto de 
las comunicaciones.
Si usted recibe este mensaje por error, por favor póngase en contacto 
con el remitente para informarle de este hecho, y no difunda su 
contenido ni haga copias.
*** Este mensaje ha sido verificado con herramientas de eliminación de 
virus y contenido malicioso ***
Este aviso legal ha sido incorporado automáticamente al mensaje.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://collab.sakaiproject.org/pipermail/production/attachments/20150121/c2ec3c7f/attachment-0001.html 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: entornos_logo.jpg
Type: image/jpeg
Size: 8726 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/production/attachments/20150121/c2ec3c7f/attachment-0002.jpg 
-------------- next part --------------
A non-text attachment was scrubbed...
Name: linkedin.jpg
Type: image/jpeg
Size: 1103 bytes
Desc: not available
Url : http://collab.sakaiproject.org/pipermail/production/attachments/20150121/c2ec3c7f/attachment-0003.jpg 


More information about the production mailing list