Hi guys. May be my question will break your nerves but please forgive
me. At first I love Nginx. Nginx is dream come true for poor student
like me :)) which doesn’t have money for sloooooowly web servers for my
projects :)). So, BIG thanks for Igor and all of you guys who contribute
beautiful code for this project. You are awesome!
Technically, of course you can build some solution for that, even do it
in your application nginx serves. But think about network delays that
would be raise for each check. It’s really not for fast philosophy.
You have to find workaround. I.e., a script running under the cron every
minute, which checks that www.gooogle.com/logo.png exists, and creates
file “exists” under some location, else removes it. And nginx will check
about this file presence.
Hi.
First thanks for the critique. Such types of solutions are many, but I
don’t want such solution. In my case i have over a million images of
which i don’t know the name or their existence. I want to try for
existence of requested file and if he is found then return to me. If the
requested file is not exist go to my proxy_pass $mybackend; and he will
generate and upload it. WIth this idea i want to skip database layer. I
have some ideas how i can do that but firstly i want to hear your
feedback about that.
First thanks for the critique. Such types of solutions are many, but I
don’t want such solution. In my case i have over a million images of
which i don’t know the name or their existence. I want to try for
existence of requested file and if he is found then return to me. If the
requested file is not exist go to my proxy_pass $mybackend; and he will
generate and upload it. WIth this idea i want to skip database layer. I
have some ideas how i can do that but firstly i want to hear your
feedback about that.