I have setup reverse proxy loading of index.html file in my NGINX to display content under different domain. This works fine but then all assets are supposed to be loaded directly from netlify from other domain but from some unknown reason not getting any response when calling them.
When I call assets from same domain(browser/postman) it works.
I also added file _headers with Access-Control-Allow-Origin: * but it doesn’t help.
Not working headers:
gzip, deflate, br
Mozilla/5.0 (Macintosh; Intel Mac OS X 10_14_6) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36
Hi, @jokuja. Our support team can troubleshoot Netlify specific issues but we are not able to troubleshoot your NGINX reverse proxy.
Someone else may be able to answer you questions here but our support team has a specific scope of support.
Now, I can troubleshoot specific HTTP requests made to our service because that is Netlify specific. I can tell you what the requests look like from our side and this might help you to find the root cause.
If you have the x-nf-request-id response header for the HTTP response or responses that our CDN returns, then I can find the HTTP request we received for it.
There more information about this header here:
If that header isn’t available for any reason, please send the information it replaces (or as many of these details as possible). Those details are:
the complete URL requested
the IP address for the system making the request
the IP address for the CDN node that responded
the day of the request
the time of the request
the timezone the time is in
If there are questions about any of this, please let us know.
Hi, @jokuja, then if it isn’t working that issue is being caused by your proxy not Netlify.
I cannot troubleshoot that system (the reverse proxy). You are responsible for the request from your reverse proxy to the browser. We sent it correctly to your proxy and it failed after that. Therefore this will be up to you to troubleshoot.
Again, troubleshooting a third-party system is not something our support team can (do unless you have a paid contract which includes that level of support). Note, paid support contract pricing begins at $1000 a month. If you are interested in this level of support, please let us know and our sales team will contact you.
Again, someone else here on this community site may be able to assist you but our default support scope, even for Enterprise accounts, does not include support or troubleshooting of any third-party systems like your reverse proxy. If there are questions about why we don’t support troubleshooting a third-party system, please let us know and we will be happy to explain why that is.
Others reading this, please do feel free to assist.