Hi @Nho Luong
Can you please follow the approach below and confirm? This was also suggested by @Alex Burlachenko
An external user sends an HTTPS request tohttps://<app-gateway-domain>/nifi
The application gateway receives this request on port 443 and performs SSL termination.
The decrypted HTTP traffic is then forwarded by the Application Gateway to NiFi on port 8080 (as NiFi is configured to accept HTTP internally). NiFi, which is running on HTTP internally, processes the request and sends the response back to the Application Gateway.
Since the communication between NiFi and the Application Gateway happens over HTTP, the traffic is unencrypted. However, when the application gateway sends the response back to the external user, the response is re-encrypted as it is sent through the SSL connection (on HTTPS port 443).
With this setup, the Application Gateway handles SSL termination and forwards unencrypted HTTP traffic to NiFi. This approach is easier to manage and more cost-effective, meeting the user’s requirement to use the Standard_v2 SKU while keeping the system secure and functional.
**I hope this helps to resolve your issue. Please feel free to ask any questions if the solution provided isn't helpful.
**
I really appreciate your feedback. It’s valuable to us. Please click Accept Answer on this post to assist other community members facing similar issues in finding the correct solution.