[ 
https://issues.apache.org/jira/browse/NIFI-4594?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Thomas Suckow updated NIFI-4594:
--------------------------------
    Description: 
As a NiFi user I need to be able to use the configurable NiFi content viewer to 
view flow file content. Currently, it works perfectly if it is NOT behind a 
reverse proxy, like nginx, or AWS load balancer. It appears that the URL is not 
being properly formed. Below is an example of the issue with another example 
where a modified URL does work.

NOTE: URLs will not be reachable and are presented in this ticket for 
illustrative purposes

DOES NOT WORK:
https://nifi-gray.unrulyfire.com/nifi-content-viewer/?ref=https%3A%2F%2Fnifi-gray.unrulyfire.com%3A443%2Fmynifi%2Fnifi-api%2Fflowfile-queues%2Fb4aa9ade-015e-1000-ffff-ffff8856fa2d%2Fflowfiles%2Fb7c9b786-b85c-4feb-83a2-00bfcd0ffad5%2Fcontent%3FclusterNodeId%3D8b0cc92a-6266-4f3d-bcb0-95d994086c80

DOES WORK :
https://nifi-gray.unrulyfire.com/mynifi/nifi-content-viewer/?ref=https%3A%2F%2Fnifi-gray.unrulyfire.com%3A443%2Fmynifi%2Fnifi-api%2Fflowfile-queues%2Fb4aa9ade-015e-1000-ffff-ffff8856fa2d%2Fflowfiles%2Fb7c9b786-b85c-4feb-83a2-00bfcd0ffad5%2Fcontent%3FclusterNodeId%3D8b0cc92a-6266-4f3d-bcb0-95d994086c80

  was:
As a NiFi user I need to be able to use the configurable NiFi content viewer to 
view flow file content. Currently, it works perfectly if it is NOT behind a 
reverse proxy, like nginx, or AWS load balancer. It appears that the URL is not 
being properly formed. Below is an example of the issue with another example 
where a modified URL does work.

NOTE: URLs will not be reachable and are presented in this ticket for 
illustrative purposes, but the attached screenshots show the effect of the URLs

DOES NOT WORK:
https://nifi-gray.unrulyfire.com/nifi-content-viewer/?ref=https%3A%2F%2Fnifi-gray.unrulyfire.com%3A443%2Fmynifi%2Fnifi-api%2Fflowfile-queues%2Fb4aa9ade-015e-1000-ffff-ffff8856fa2d%2Fflowfiles%2Fb7c9b786-b85c-4feb-83a2-00bfcd0ffad5%2Fcontent%3FclusterNodeId%3D8b0cc92a-6266-4f3d-bcb0-95d994086c80

DOES WORK :
https://nifi-gray.unrulyfire.com/mynifi/nifi-content-viewer/?ref=https%3A%2F%2Fnifi-gray.unrulyfire.com%3A443%2Fmynifi%2Fnifi-api%2Fflowfile-queues%2Fb4aa9ade-015e-1000-ffff-ffff8856fa2d%2Fflowfiles%2Fb7c9b786-b85c-4feb-83a2-00bfcd0ffad5%2Fcontent%3FclusterNodeId%3D8b0cc92a-6266-4f3d-bcb0-95d994086c80


> Content Viewer not working when reverse proxy places nifi not at the root
> -------------------------------------------------------------------------
>
>                 Key: NIFI-4594
>                 URL: https://issues.apache.org/jira/browse/NIFI-4594
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core UI
>    Affects Versions: 1.4.0
>            Reporter: Thomas Suckow
>
> As a NiFi user I need to be able to use the configurable NiFi content viewer 
> to view flow file content. Currently, it works perfectly if it is NOT behind 
> a reverse proxy, like nginx, or AWS load balancer. It appears that the URL is 
> not being properly formed. Below is an example of the issue with another 
> example where a modified URL does work.
> NOTE: URLs will not be reachable and are presented in this ticket for 
> illustrative purposes
> DOES NOT WORK:
> https://nifi-gray.unrulyfire.com/nifi-content-viewer/?ref=https%3A%2F%2Fnifi-gray.unrulyfire.com%3A443%2Fmynifi%2Fnifi-api%2Fflowfile-queues%2Fb4aa9ade-015e-1000-ffff-ffff8856fa2d%2Fflowfiles%2Fb7c9b786-b85c-4feb-83a2-00bfcd0ffad5%2Fcontent%3FclusterNodeId%3D8b0cc92a-6266-4f3d-bcb0-95d994086c80
> DOES WORK :
> https://nifi-gray.unrulyfire.com/mynifi/nifi-content-viewer/?ref=https%3A%2F%2Fnifi-gray.unrulyfire.com%3A443%2Fmynifi%2Fnifi-api%2Fflowfile-queues%2Fb4aa9ade-015e-1000-ffff-ffff8856fa2d%2Fflowfiles%2Fb7c9b786-b85c-4feb-83a2-00bfcd0ffad5%2Fcontent%3FclusterNodeId%3D8b0cc92a-6266-4f3d-bcb0-95d994086c80



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to