Index: man/nginx.8 --- man/nginx.8.orig +++ man/nginx.8 @@ -99,6 +99,23 @@ Do not run, just test the configuration file. .Nm checks the configuration file syntax and then tries to open files referenced in the configuration file. +.It Fl u +By default +.Nm +will +.Xr chroot 2 +to the home directory of the user running the daemon, +typically +.Dq www , +or to the home directory of +.Ic user +in +.Pa nginx.conf . +The +.Fl u +option disables this behaviour, and returns +.Nm +to the original "unsecure" behaviour. .It Fl V Print the .Nm