Github user ijokarumawak commented on the issue:
https://github.com/apache/nifi/pull/1334
Reviewed the change, all looks good!
I was able to reproduce the issue on a docker environment with an un-secure
NiFi cluster running behind a nginx which terminates SSL. Docker-compose file
is available
[here](https://github.com/ijokarumawak/nifi-integration-tests/blob/master/docker-compose-nginx-ssl-terminate-nifi-cluster.yml).
Then, confirmed that a template file can be uploaded after applying this PR.
Also, I double checked the usage of `isReplicateRequest()` and
`getRequestReplicator()` methods. Confirmed that
`ProcessGroupResource.uploadTemplate()` is the only one that construct URI
without using uriInfo.
Thanks for reporting this issue, @rstjohn , and the fix, @mcgilman !
I'm merging this into master.
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---