Nginx secure download

Hello,

i am trying to setup nginx with the secure download module. but
unfortunately i cant enable it.

    location /media/aveo/videos {
        secure_download on;
        secure_download_secret xxxxxxxx;
        secure_download_path_mode file;
    }

nginx -t says

[emerg]: unknown directive “secure_download” in /etc/nginx/nginx.conf:74

i cant even find a configure parameter how to enable this? what did i
miss ?

and, which variable can i use for the timestamp (hex format) in the
secure_download_secret ?

Thanks

Juergen

nevermind… found the source :wink: