I made a private app using shopify-api-node package which is working perfect in local development using ngrok. I registered a webhook "products/update" which is working fine.
registered url local: https://example.ngrok.io/webhooks/product-update
but the same webhook registered with production environment, webhook is not getting fired
registered url in production: https://custom.example.in/webhooks/product-update
When both local and production servers are running, webhooks are fired to local server (tunneled via ngrok) only.
I am using nginx in production as a reverse proxy. I have checked access.log file of nginx but there is no webhook request fired by shopify. I tried creating a new private app but no help.
What can be possible issue? Thanks in advance.