|
|
|
|
|
by msimpson
3214 days ago
|
|
NGINX allows you to proxy a back-end applications giving you the ability to load balance, handle upstream failures with custom maintenance pages, employ server blocks (virtual hosts), and much more. However, you always need to do the leg work to get your specific application language up and running. This new unit system makes that job easier as you would no longer need to employ separate middleware, like PHP-FPM for PHP applications, or use a separate init system like systemd to run Go or Node applications. Now NGINX would assume those responsibilities and provide you with a consistent interface. Here you can see the configuration of workers and user/group permissions for a Go application: http://unit.nginx.org/docs-configuration.html#go-application |
|
Is it like the apache mod_php for php for example ?
Thanks in advance for your answer