mirror of
https://github.com/vimagick/dockerfiles.git
synced 2024-12-23 01:39:27 +02:00
update nifi
This commit is contained in:
parent
0dac7b513a
commit
64717a6a11
@ -8,7 +8,6 @@ services:
|
||||
- "10000:10000"
|
||||
environment:
|
||||
- NIFI_WEB_HTTP_PORT=8080
|
||||
- NIFI_WEB_PROXY_CONTEXT_PATH=// # FIX BUG
|
||||
- NIFI_CLUSTER_IS_NODE=true
|
||||
- NIFI_CLUSTER_NODE_PROTOCOL_PORT=8082
|
||||
- NIFI_REMOTE_INPUT_SOCKET_PORT=10000
|
||||
|
@ -17,7 +17,6 @@ services:
|
||||
- ./data/nifi/logs:/opt/nifi/nifi-current/logs
|
||||
environment:
|
||||
- NIFI_WEB_HTTP_PORT=8080
|
||||
- NIFI_WEB_PROXY_CONTEXT_PATH=// # FIX BUG
|
||||
- NIFI_SENSITIVE_PROPS_KEY=00000000-0000-0000-0000-000000000000
|
||||
- NIFI_JVM_HEAP_INIT=8g
|
||||
- NIFI_JVM_HEAP_MAX=16g
|
||||
|
@ -12,13 +12,10 @@ server {
|
||||
ssl_protocols TLSv1 TLSv1.1 TLSv1.2;
|
||||
ssl_ciphers HIGH:!aNULL:!MD5;
|
||||
location / {
|
||||
if ($request_uri ~* "\/\/") {
|
||||
rewrite ^/(.*) $scheme://$host/$1 permanent; # FIXME: squeeze forward slash
|
||||
}
|
||||
proxy_set_header X-ProxyScheme https;
|
||||
proxy_set_header X-ProxyHost $host;
|
||||
proxy_set_header X-ProxyPort 443;
|
||||
proxy_set_header X-ProxyContextPath /;
|
||||
proxy_set_header X-ProxyContextPath "";
|
||||
proxy_pass http://127.0.0.1:8080;
|
||||
}
|
||||
location /nifi-registry {
|
||||
@ -26,7 +23,7 @@ server {
|
||||
proxy_set_header X-ProxyScheme https;
|
||||
proxy_set_header X-ProxyHost $host;
|
||||
proxy_set_header X-ProxyPort 443;
|
||||
proxy_set_header X-ProxyContextPath /;
|
||||
proxy_set_header X-ProxyContextPath "";
|
||||
proxy_pass http://127.0.0.1:18080;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user