I want create some rewrite with nginx (5 million links), I read nginx have the option to save it in a map file but need ages to reload + ram usage when I do it this way.
My Idea was now
User -> Nginx -> Node(which gives the link) -> Save the link in a Variable of nginx -> Nginx rewrite to the file
I tryt to supply file direct over node with express but have already 50% usage with 300 connections.
Is this posible or im on the completly wrong way?