[
https://issues.apache.org/jira/browse/ISIS-2261?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17012312#comment-17012312
]
ASF subversion and git services commented on ISIS-2261:
-------------------------------------------------------
Commit 6fa8e884eda650f3cada763374ab9d3f87e881b4 in isis's branch
refs/heads/master from danhaywood
[ https://gitbox.apache.org/repos/asf?p=isis.git;h=6fa8e88 ]
ISIS-2261: updates generated cfg docs
> 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)