Here is special script to compile Nginx from source with additional modules, including TLS 1.3 support, Brotli, mod_pagespreed, GeoIP, Redis-cache, etc.
Note, this is special version of script from Input - Bash script to compile Nginx from source with additional modules on Plesk Onyx customized for CentOS7!
Script will replace default sw-nginx binaries with latest version of nginx and modules. Package sw-nginx will be locked for the further updates by Plesk installer for preventing overwrites.
You need to configure your own nginx.conf according your needs, modules, etc.
Please note, that you use it at your own risk and you are free to modify it as you wish.
Good luck!
Note, this is special version of script from Input - Bash script to compile Nginx from source with additional modules on Plesk Onyx customized for CentOS7!
Script will replace default sw-nginx binaries with latest version of nginx and modules. Package sw-nginx will be locked for the further updates by Plesk installer for preventing overwrites.
You need to configure your own nginx.conf according your needs, modules, etc.
Please note, that you use it at your own risk and you are free to modify it as you wish.
Good luck!