You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@nifi.apache.org by "Ganesh, B (Nokia - IN/Bangalore)" <b....@nokia.com> on 2020/05/26 04:48:28 UTC
Nifi context path
Hi ,
I am accessing the nifi UI with http://localhost:8080/nifi in my VM or windows machine .
I want to configure Nifi to access with our own context path i.e http://localhost:8080/
I tried configuring the nifi properties like below .
nifi.web.proxy.context.path="/ "
nifi.web.proxy.host=localhost:8080
For one of the requirement we need to change the config path form "/nifi" to "/" to access nifi with " http://localhost:8080/ " could anyone help me to do the same or the possibility to do .
Thanks & Regards,
Ganesh.B
Re: Nifi context path
Posted by Andy LoPresto <al...@apache.org>.
In addition to reading the link Utkarsh provided, it’s important to note that modifying those properties informs NiFi of the proxy instance it is behind. It does not change the NiFi context paths or define the hostname, port, and path that NiFi will be accessed via. The solution to this requirement is to deploy a reverse proxy (nginx, HAProxy, etc.) in front of NiFi and redirect traffic from http://localhost:8080 <http://localhost:8080/> -> http://localhost:8080/nifi <http://localhost:8080/nifi> if that is the deployed location. Koji Kawamura has an example configuration and description available here [1].
[1] https://github.com/ijokarumawak/nifi-reverseproxy <https://github.com/ijokarumawak/nifi-reverseproxy>
Andy LoPresto
alopresto@apache.org
alopresto.apache@gmail.com
He/Him
PGP Fingerprint: 70EC B3E5 98A6 5A3F D3C4 BACE 3C6E F65B 2F7D EF69
> On May 27, 2020, at 12:09 AM, Peter Turcsanyi <tu...@apache.org> wrote:
>
> Hi Ganesh,
>
> Please subscribe to the mailing list in order to get the replies:
> http://nifi.apache.org/mailing_lists.html
> You can find the archived mails there too.
>
> Regards,
> Peter
>
> On Wed, May 27, 2020 at 6:32 AM Ganesh, B (Nokia - IN/Bangalore) <
> b.ganesh@nokia.com> wrote:
>
>> Hi ,
>>
>> Can anyone respond please ?
>>
>> Thanks & Regards,
>> Ganesh.B
>>
>> From: Ganesh, B (Nokia - IN/Bangalore)
>> Sent: Tuesday, May 26, 2020 10:18 AM
>> To: 'dev@nifi.apache.org' <de...@nifi.apache.org>
>> Subject: Nifi context path
>>
>> Hi ,
>>
>> I am accessing the nifi UI with http://localhost:8080/nifi in my VM or
>> windows machine .
>>
>> I want to configure Nifi to access with our own context path i.e
>> http://localhost:8080/
>>
>> I tried configuring the nifi properties like below .
>> nifi.web.proxy.context.path="/ "
>> nifi.web.proxy.host=localhost:8080
>>
>> For one of the requirement we need to change the config path form "/nifi"
>> to "/" to access nifi with " http://localhost:8080/ " could anyone help
>> me to do the same or the possibility to do .
>>
>> Thanks & Regards,
>> Ganesh.B
>>
>>
>>
Re: Nifi context path
Posted by Peter Turcsanyi <tu...@apache.org>.
Hi Ganesh,
Please subscribe to the mailing list in order to get the replies:
http://nifi.apache.org/mailing_lists.html
You can find the archived mails there too.
Regards,
Peter
On Wed, May 27, 2020 at 6:32 AM Ganesh, B (Nokia - IN/Bangalore) <
b.ganesh@nokia.com> wrote:
> Hi ,
>
> Can anyone respond please ?
>
> Thanks & Regards,
> Ganesh.B
>
> From: Ganesh, B (Nokia - IN/Bangalore)
> Sent: Tuesday, May 26, 2020 10:18 AM
> To: 'dev@nifi.apache.org' <de...@nifi.apache.org>
> Subject: Nifi context path
>
> Hi ,
>
> I am accessing the nifi UI with http://localhost:8080/nifi in my VM or
> windows machine .
>
> I want to configure Nifi to access with our own context path i.e
> http://localhost:8080/
>
> I tried configuring the nifi properties like below .
> nifi.web.proxy.context.path="/ "
> nifi.web.proxy.host=localhost:8080
>
> For one of the requirement we need to change the config path form "/nifi"
> to "/" to access nifi with " http://localhost:8080/ " could anyone help
> me to do the same or the possibility to do .
>
> Thanks & Regards,
> Ganesh.B
>
>
>
RE: Nifi context path
Posted by "Ganesh, B (Nokia - IN/Bangalore)" <b....@nokia.com>.
Hi ,
Can anyone respond please ?
Thanks & Regards,
Ganesh.B
From: Ganesh, B (Nokia - IN/Bangalore)
Sent: Tuesday, May 26, 2020 10:18 AM
To: 'dev@nifi.apache.org' <de...@nifi.apache.org>
Subject: Nifi context path
Hi ,
I am accessing the nifi UI with http://localhost:8080/nifi in my VM or windows machine .
I want to configure Nifi to access with our own context path i.e http://localhost:8080/
I tried configuring the nifi properties like below .
nifi.web.proxy.context.path="/ "
nifi.web.proxy.host=localhost:8080
For one of the requirement we need to change the config path form "/nifi" to "/" to access nifi with " http://localhost:8080/ " could anyone help me to do the same or the possibility to do .
Thanks & Regards,
Ganesh.B
Re: Nifi context path
Posted by Utkarsh Srivastava <ut...@gmail.com>.
Hi Ganesh,
From what I understand, you might need to refer to this doc :
https://nifi.apache.org/docs/nifi-docs/html/administration-guide.html#proxy_configuration
Let me know if this helps.
Regards,
Utkarsh
On Tue, May 26, 2020 at 10:18 AM Ganesh, B (Nokia - IN/Bangalore) <
b.ganesh@nokia.com> wrote:
> Hi ,
>
> I am accessing the nifi UI with http://localhost:8080/nifi in my VM or
> windows machine .
>
> I want to configure Nifi to access with our own context path i.e
> http://localhost:8080/
>
> I tried configuring the nifi properties like below .
> nifi.web.proxy.context.path="/ "
> nifi.web.proxy.host=localhost:8080
>
> For one of the requirement we need to change the config path form "/nifi"
> to "/" to access nifi with " http://localhost:8080/ " could anyone help
> me to do the same or the possibility to do .
>
> Thanks & Regards,
> Ganesh.B
>
>
>