4 ms·
.. and by 'moving those libraries' you mean 'copying' them, right? :) A quick look at nginx's ./configure script doesn't show any options that enable static li
by akl 17y ago
.. and by 'moving those libraries' you mean 'copying' them, right? :)
A quick look at nginx's ./configure script doesn't show any options that enable static linking on the libraries, but that would be useful for looking into chrooting it.
- silentbicycle 17y agoYeah, whoops. Copying.
- munctional 17y agoYou could also hardlink them.
- spc476 17y agoYou don't want to do that. If there is an exploit and an ability to gain root access, those libraries could be modified and affect everything else that uses those libraries outside the chroot jail. Best to just copy them.