To Install
Stable (1.26.2) with HTTP/2
curl -sL https://raw.githubusercontent.com/MelonSmasher/NginxInstaller/master/nginx-install.sh | bash -s -- -a
Mainline (1.27.1) with HTTP/2
curl -sL https://raw.githubusercontent.com/MelonSmasher/NginxInstaller/master/nginx-install.sh | bash -s -- -x -a
Options
- -x
Install Mainline instead of Stable
- -m
Compile with Mail module
- -v
Compile with VTS module
more info
- -g
Compile with GEO IP module
- -c
Compile with CachePurge module
more info
- -l
Compile with LDAP auth module
more info
- -f
Force the installation even if the correct version is installed.