Chocolatey Packages

Documentation about My Chocolatey Packages.

View project on GitHub

nginx nginx

Usage

To install nginx, run the following command from the command line or from PowerShell:

choco install nginx

To upgrade nginx, run the following command from the command line or from PowerShell:

choco upgrade nginx

To uninstall nginx, run the following command from the command line or from PowerShell:

choco uninstall nginx

Description

nginx [engine x] is an HTTP and reverse proxy server, a mail proxy server, a generic TCP/UDP proxy server, as well as a load balancer and an HTTP cache.

Package Parameters

  • /installLocation - Intstall to a different destination folder. Default: $Env:ChocolateyToolsLocation\Nginx*
  • /serviceName - The name of the windows service which will be create. Default: nginx
  • /port - The port Nginx will listen to. Default: 80
  • /noService - Don’t install the nginx windows service
  • /serviceAccount - account to run Windows Service. One of System, LocalService or NetworkService. Default: System

Example: choco install nginx --params '"/installLocation:C:\nginx /port:433"'

Notes

  • This package will install the latest Nginx binaries
  • The complete path of the package will be $Env:ChocolateyToolsLocation\Nginx*
  • Nginx will be installed as a service under the default name ‘Nginx’ (can be disabled with the /noService install parameter)

Please Note: This is an automatically updated package. If you find it is out of date by more than a day or two, please contact the maintainer(s) and let them know here that the package is no longer updating correctly.

Chocolatey Package Page

Software Site

Package Source