I want to install nginx not current stable version but in one currently deposits, and chroot the process.
I followed some tutorials including: Securing Debian Manual
Appendix H - Chroot environment for Apache and tried to adapt to nginx, but without success (why apache and apache2 not in their example?).
So I made the following actions:

First is the basic configuration file is called /etc/nginx/nginx.conf and not /var/chroot/chroot_nginx/etc/nginx/nginx.conf is this normal?
Secondly my user was not found ...

Where I wrong?

I could see also other posts on stackoverflow, a chrooted process, but will be in the /usr/sbin lose its security properties?
My question is why? All programs that are in this folder have they set the bit apparently not activated? If this is the casMes knowledge have not yet understand me,
thank you for guiding me.

I also have doubts as to mount the file system on the command ExecStartPre service nginx file and the paths indicated ...
That is if you have an idea just to guide me or see a mistake, a missing step or have a good tutorial advise me ...

the aim is to isolate the nginx processes if maximum injection of arbitrary code (shellcode etc ...) I was looking down the maximum privileges but maybe I'm not on the right track your board are the welcome ... thkx but can be that is useless too, What is the purpose Securing Debian Manual Appendix H ????
–
J-barnabyFeb 21 '14 at 19:01

but I could see of course that nginx was a master process then processes work on behalf of the user that nginx was configured ... do you want to chroot all this bring me extra security ?
–
J-barnabyFeb 21 '14 at 19:20

Chrooting master process doesn't introduce better security, instead it introduces only pain for you. There are two reasons for that: 1. nginx master doesn't accept connections and doesn't process any requests, so it's secure and isolated by default, and 2. chrooting isn't security tool and never was, it can be easily escaped, see: lwn.net/Articles/252794.
–
VBartFeb 21 '14 at 20:05

Thks very much again for your time VBart ...
–
J-barnabyFeb 21 '14 at 20:39