Answer the question
In order to leave comments, you need to log in
How to whitelist images with nginx after 30 days?
Images are uploaded via ftp. They are rendered via nginx.
How to create a rule: if a picture is older than 30 days, then only the white list of ip addresses can view it?
That is, nginx must see its lifetime before giving the picture. I found that I can sort of solve it through expires modified 30d
, but I don’t know how to proceed.
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question