My meteor app uses collectionFS fs:filesystem to store files on server locally.
If no CDN configured or turned on, using collectionFS uploading/downloading file has no problem.
If CDN is configured and turned on, then collectionFS downloading works fine while uploading doesn’t work any more.
My server name is argo.centuryenergy.com.cn, the CDN node visiting is 220.127.116.11,
In chrome console, I saw following error messages:
From these error message, I figured, the POST is trying to upload this file to CDN node (18.104.22.168) instead of real server IP address (22.214.171.124).
Has anyone ran into such problem?
More general question is how to configure collectionFS or CDN to make uploading work.
Have to use CDN to speed up downloading in order to pass Apple App review. Last time it failed to load when no CDN is configured.
Really appreciated if anyone can help, this is kind emergency…