in DevOps

Add a module to nginx on ubuntu the right way

Found a nice tutorial on adding custom modules to nginx without sacrificing the benefits of apt-get install:

https://serversforhackers.com/compiling-third-party-modules-into-nginx

Don’t forget to turn off updates for your self-compiled nginx with: sudo apt-mark hold nginx-full.
You have to repeat the process for every update.