How to Add Nginx Module ngx_http_secure_link_module on Debian 10

Renomu Reza asked:

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.

My answer:

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

sudo apt install nginx-extras

View the full question and any other answers on Server Fault.

Creative Commons License
This work is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.