Where to store global settings in filter

2014-08-24 Thread Jerry OELoo
Hi All: I have some settings in a json file (not in nginx.conf file), Currently, in my module filter function, I will open file, read file, close file every time filter function is called. I think this is not so good, so I think it's better call a function just one time, and save the setting in a g

How to configure rewrites or security download hashed link with expiration date

2014-08-24 Thread farukest
Hi i have a video publishing website and have tons of ".mp4" videos in my website. I want to use hashing . But i couldn't understand documentation how to use this configuration. My first question : Is it possible to use this configuration in localhost, because first i should try with localhost. I c