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!



--
DAHAG Rechtsservices AG
Matthias Biehler
 IT DevOps
Telefon: 0911/810 481-3323
E-Mail: [email protected]
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