How to combine SecureLink with CDN (Spaces) assets

Posted January 5, 2021 152 views
NginxDigitalOcean Spaces

Is there a way to leverage the CDN service as an optimized content delivery/cache/edge service, but limit the access to those assets by only authenticated users on my nginx site? I assume I need to implement a reverse proxy in my nginx to inspect the url prior to serving it up, but that will defeat the benefit of the CDN service (because I would have to block the access from the CDN and require my nginx to serve up the asset). Is there a document that may explain an approach that I can possibly implement?

Thanks in advance.

Submit an answer

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!