Test 1 is the correct mapping. NiFi is comprised of a number of web
applications so you'll need to just map to the root context path and then
access the UI at public-ip/pipeline/nifi. The number of web applications is
technically unknown until startup as there are defined extension points for
custom UIs.

Matt

On Mon, Aug 7, 2017 at 6:36 AM, Raviteja Lokineni <
raviteja.lokin...@gmail.com> wrote:

> Hi all,
>
> Need your help one more time, I am trying to reverse proxy to nifi
> instance like below:
>
> Test 1:
> public-ip/pipeline -> http://nifi-host:8080
>
> This gives me a error to use /nifi when accessing public-ip/pipeline
>
> Test 2:
> public-ip/pipeline -> http://nifi-host:8080/nifi
> public-ip/nifi-docs -> http://nifi-host:8080/nifi-docs
> public-ip/nifi-api -> http://nifi-host:8080/nifi-api
>
> This redirects public-ip/pipeline to public-ip/nifi
>
> I am stuck trying to figure out all the proxies that nifi needs. Someone
> please help me out.
>
> Thanks,
>
> On Wed, Jul 19, 2017 at 6:28 PM, Matt Gilman <matt.c.gil...@gmail.com>
> wrote:
>
>> Awesome. Glad you got everything working. I've filed a JIRA for updating
>> the documentation accordingly [1].
>>
>> Matt
>>
>> [1] https://issues.apache.org/jira/browse/NIFI-4206
>>
>> On Wed, Jul 19, 2017 at 8:31 AM, Raviteja Lokineni <
>> raviteja.lokin...@gmail.com> wrote:
>>
>>> Hi all,
>>>
>>> This is what I used in httpd/conf.d/nifi.conf to resolve the problem:
>>>
>>> ProxyPass        / http://<host/ip>:8080/
>>>> ProxyPassReverse / http://<host/ip>:8080/
>>>
>>>
>>>> RequestHeader add X-ProxyScheme "http"
>>>> RequestHeader add X-ProxyHost "<host/ip>"
>>>> RequestHeader add X-ProxyPort "80"
>>>> RequestHeader add X-ProxyContextPath "/"
>>>
>>>
>>> I wasted sometime searching for a fix. Honestly this should be part of
>>> deployment guide in the documentation
>>>
>>> Thanks,
>>>
>>> On Wed, Jul 19, 2017 at 5:30 PM, Raviteja Lokineni <
>>> raviteja.lokin...@gmail.com> wrote:
>>>
>>>> Hi all,
>>>>
>>>> I was trying to configure a Nifi instance under Apache HTTPD reverse
>>>> proxy. So I have set the following property: 
>>>> nifi.web.http.port.forwarding=80
>>>> but the nifi api still tries to communicate over 8080. Am I missing
>>>> something?
>>>>
>>>> Version: 1.3.0
>>>>
>>>> Thanks,
>>>> --
>>>> *Raviteja Lokineni* | Business Intelligence Developer
>>>> TD Ameritrade
>>>>
>>>> E: raviteja.lokin...@gmail.com
>>>>
>>>> [image: View Raviteja Lokineni's profile on LinkedIn]
>>>> <http://in.linkedin.com/in/ravitejalokineni>
>>>>
>>>>
>>>
>>>
>>> --
>>> *Raviteja Lokineni* | Business Intelligence Developer
>>> TD Ameritrade
>>>
>>> E: raviteja.lokin...@gmail.com
>>>
>>> [image: View Raviteja Lokineni's profile on LinkedIn]
>>> <http://in.linkedin.com/in/ravitejalokineni>
>>>
>>>
>>
>
>
> --
> *Raviteja Lokineni* | Business Intelligence Developer
> TD Ameritrade
>
> E: raviteja.lokin...@gmail.com
>
> [image: View Raviteja Lokineni's profile on LinkedIn]
> <http://in.linkedin.com/in/ravitejalokineni>
>
>

Reply via email to