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 CentOS6!
The execution of the script ends with the compilation by make command. After successful completion, you need to install it manually with
# make install
configuring nginx.conf according your needs, 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 CentOS6!
The execution of the script ends with the compilation by make command. After successful completion, you need to install it manually with
# make install
configuring nginx.conf according your needs, etc.
Please note, that you use it at your own risk and you are free to modify it as you wish.
Good luck!