Building nginx from Sources
https://nginx.org/en/docs/configure.htmlBuilding nginx from Sources The build is configured using the configure command. It defines various aspects of the system, including the methods nginx is allowed to use for connection processing. At the end it creates a Makefile . The configure command supports the following parameters: --help prints a help message. --prefix=path
Installing nginx
nginx.org/en/docs/install.htmlOn FreeBSD, nginx can be installed either from the packages or through the ports system. The ports system provides greater flexibility, allowing selection among a wide range of options. The port will compile nginx with the specified options and install it. Building from Sources