RE: Handling of request header x-forwarded-prefix

David H Nebinger, modified 1 Year ago. New Member Post: 1 Join Date: 10/16/19 Recent Posts

Hi,

A non standard request header x-forwarded-prefix exists and provides the request's original base path (i.e. context root), if any. Handling this header would be more elegant than hardcoding this path via the portal property portal.proxy.path as today.

Note that Liferay already support handling of other x-forwarded request headers for the protocol, host and port.

Yours,

Mathieu

thumbnail
Jamie Sammons, modified 1 Year ago. Expert Posts: 367 Join Date: 9/5/14 Recent Posts

Feature Request Created: https://liferay.atlassian.net/browse/LPD-21776