[
https://issues.apache.org/jira/browse/ISIS-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012125#comment-17012125
]
ASF subversion and git services commented on ISIS-2261:
-------------------------------------------------------
Commit 164120ad93e9fe0b1e43001f78300a5cb0e1a938 in isis's branch
refs/heads/master from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=164120a ]
ISIS-2261: adds regex for config property
> Allow the baseUri of the RO viewer to be overridden
> ---------------------------------------------------
>
> Key: ISIS-2261
> URL: https://issues.apache.org/jira/browse/ISIS-2261
> Project: Isis
> Issue Type: Improvement
> Components: Core: Viewer: RestfulObjects
> Reporter: Daniel Keir Haywood
> Assignee: Daniel Keir Haywood
> Priority: Minor
> Fix For: 2.0.0
>
>
> When running a webapp with a reverse proxy, where the reverse proxy does the
> https:// thing but the webapp itself only runs on [http://,|http://%2C/] then
> the baseUri that the RO viewer infers from the injected UriInfo (in
> ResourceAbstract) will have the incorrect baseUri.
> {code:java}
> public class ResourceAbstract {
> @javax.ws.rs.core.Context UriInfo uriInfo;
> ...
> }{code}
> There doesn't seem to be anyway to tell JAXRS that the webapp is running
> behind a reverse proxy, so i think that we'll need to provide some sort of
> config parameter to allow the baseUri (scheme, hostname and port) to be
> overridden if required.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)