Hi,
you need to configure http OR https. Both configs together don't work. Without https you can't configure different auth mechanisms. See the Nifi Admin Guide: https://nifi.apache.org/nifi-docs/administration-guide.html#security_configuration
Good luck! 
 
----- Ursprüngliche Nachricht -----
Von: "Matthias Biehler" <matthias.bieh...@dahag.de>
An: "'users@nifi.apache.org'" <users@nifi.apache.org>
CC:
Betreff: Docker http
Datum: Fr, 31. Jan 2025 08:25
 

Hello,

 

I want to run nifi on Docker behind a reverse proxy. Other applications run on http on localhost while the reverse proxy terminates TLS.

There are some env variables that can be used to configure Host and Port, but it seems they only exist for https: https://github.com/apache/nifi/blob/main/nifi-docker/dockerhub/sh/start.sh#L41-L42

When I manually edit the config file and add http.port, the container fails on restart: Failed to start Server java.lang.IllegalStateException: Invalid port configuration in nifi.properties: Both nifi.web.https.port and nifi.web.http.port specified

 

Is it possible to run the container with HTTP only? If so, how can I configure it correctly?

Thanks!

 

 


Matthias Biehler
IT DevOps

Telefon: 0911/810 481-3323
E-Mail: matthias.bieh...@dahag.de

DAHAG Rechtsservices AG
Am Plärrer 7 | 90443 Nürnberg
Telefon: 0911/810 481-0 | Telefax: 0911/810 025-25
www.dahag.de

Vorstand: Johannes Goth, Christian Ulshöfer, Jonas Zimmermann
Aufsichtsrat: Arne Hostrup (Vorsitzender)
HRB 24658 Nürnberg | USt-ID.: DE261181671

 

Reply via email to