/nginx-autoinstall

Compile Nginx with custom modules on Debian

Primary LanguageShellGNU General Public License v3.0GPL-3.0

nginx-autoinstall

Automatically compile from source and install Nginx mainline, on Debian 8 and 9 (x86 and ARM, 32 and 64 bits).

screenshot

Features

Optional modules/features

Install Nginx

Just download and execute the script :

wget https://raw.githubusercontent.com/Angristan/nginx-autoinstall/master/nginx-autoinstall.sh
chmod +x nginx-autoinstall.sh
./nginx-autoinstall.sh

You can check configuration examples for the custom modules.

Uninstall Nginx

Just select the option when running the script :

update

You have te choice to delete the logs and the conf.

Update Nginx

To update Nginx, run the script and install Nginx again. It will overwrite current Nginx files and/or modules.

Update the script

The update feature downloads the script from this repository, and overwrite the current nginx-autoinstall.sh file in the working directory. This allows you to get the latest features, bug fixes, and module versions automatically.

update

Logs files

There are two logs files created when running the script.

  • /tmp/nginx-autoinstall-output.log
  • /tmp/nginx-autoinstall-error.log (use this one for debugging)

LICENSE

GPL v3.0