I have a simple API retrieval script running on Nginx static app. It downloads some images and data on cron run to be used later by our other apps. I would like to limit access to the resources to only other apps on the server – the data is not private, but I would feel better. I tried using .htaccess, but then realised it is not Apache 🙂. And I have never used nginx before :/
So, does anyone know how to do something similar to:
Deny from all
Allow from XY
In nginx?