Push notifications behind a proxy
In our setup, we have Countly server deployed behind a proxy to the internet. We have configured the proxy to allow traffic to required Apple and Google Firebase services for push notifications to work. And, we managed to get push working for Android because inside the Countly server config files, there's the parameter to specify the proxy. More specifically, inside "/countly/api/config.js" we found these commented out lines:
/* GCM proxy server for push plugin*/
What about the iOS? Trying to upload the APN certificate we get an error. From the logs it's clear it's a network issue:
INF: resolving api.push.apple.com
WRN: dns resolve error, let's retry once EAI_NONAME
ERR: dns resolve error, no more retrying after EAI_NONAME
My question is, what is the correct procedure to configure Countly server for Apples push services behind the proxy? Where and how should the proxy settings be configured?
Thanks in advance.