LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Server (https://www.linuxquestions.org/questions/linux-server-73/)
-   -   $JAIL for mysql and uWSGI as well as nginx. (https://www.linuxquestions.org/questions/linux-server-73/%24jail-for-mysql-and-uwsgi-as-well-as-nginx-4175483676/)

poly_s 11-06-2013 10:03 PM

$JAIL for mysql and uWSGI as well as nginx.
 
Hi

I'm setting up a web server to run a python program over the web.

I've gone to the trouble of setting up nginx in a jail and am wondering if i also need to move my mariadb,uwsgi and python as well as all dependencies/required files into said jail?

Thanks in advance for your time.

zhjim 12-04-2013 07:56 AM

Yes you have to have everything inside the jail. Also for mariadb you could put the socket inside the jail and you should be able to access the db from inside the jail. Or have it listen on the network and then connect to this.

Did you check if there is a module for jailing nginx? I remember vaguely that there is one for apache. So not so sure if it still exists.


All times are GMT -5. The time now is 06:06 PM.