If nginx was not a core package and was installed via ports or pkg_add you would have an /etc/rc.conf.local that looked like this
Code:
ntpd_flags="-s" # enabled during install
xdm_flags= # enabled during install
lpd_flags="" # Start print daemon
apmd_flags="-C" # AMD CPU power management
pkg_scripts="nginx mpd"
In the above, start up options would be in /etc/nginx.conf. Since flags are now part of third party daemons you could also try nginx_flags="-u" but this does give you nested "" and a good chance of scripting error.
Now that nginx is a core package your /etc/rc.conf.local becomes
Code:
ntpd_flags="-s" # enabled during install
xdm_flags= # enabled during install
lpd_flags="" # Start print daemon
apmd_flags="-C" # AMD CPU power management
nginx_flags="" # Start nginx web server
pkg_scripts="mpd"
If you want to disable chroot for nginx it becomes
Code:
ntpd_flags="-s" # enabled during install
xdm_flags= # enabled during install
lpd_flags="" # Start print daemon
apmd_flags="-C" # AMD CPU power management
nginx_flags="-u" # Start nginx web server chroot disabled
pkg_scripts="mpd"