I installed LEMP on Debian 10 using the tutorial that is here. I using nginx/1.14.2.

I want to add the Nginx Module ngx_http_secure_link_module to protect the download link.

I have searched for the tutorial on Google, but it's very rare to discuss Nginx Module, especially ngx_http_secure_link_module.

I'm a beginner Nginx, I have tried several tutorials on YouTube and Google search but the module is not installed properly. I really hope to get a tutorial on adding the nginx module ngx_http_secure_link_module here.

I would really appreciate any help I can get on this.

1 Answer 1


You need to install the package nginx-extras to get the secure link module. Once installed, restart nginx.

sudo apt install nginx-extras
  • This adds a lot of modules that I don't need, is there a way to just add the nginx_secure module?
    – R.M. Reza
    Jun 30, 2020 at 3:17
  • @RenomuReza Nobody said you have to use all the modules! Jun 30, 2020 at 3:20
  • ngx http secure link module seems to work well. I mean, does the added module require a lot of storage space?
    – R.M. Reza
    Jun 30, 2020 at 3:26
  • @RenomuReza The amount of disk space used is trivial. Jun 30, 2020 at 4:09
  • thank you for your answer, the module that I need is working well. Is this the best way to add the nginx module or is there another way? I see this method is very different from what I found in Google and YouTube searches.
    – R.M. Reza
    Jun 30, 2020 at 5:33

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.