I'm pretty lost here. I've been searching everywhere and haven's had any luck on this yet. I have two server blocks set up under nginx. I followed this tutorial:
>> https://www.digitalocean.com/community/tutorials/how-to-configure-single-and-multiple-wordpress-site-settings-with-nginx
In order to test my security, I uploaded the c99 shell to one of the sites. I was able to browse the files of the other website just by going to the parent directory of the site a few times.
-WWW
|---test.com
|------index.php
|---test2.com
|------index.php
I hope I explained this good... I already have www-data:www-data as the owner (not sure if that's the right term) of the www directory.
How do I prevent a host from traversing upwards into another hosts files or even other files on my server?
Thank you so much in advance!
>> https://www.digitalocean.com/community/tutorials/how-to-configure-single-and-multiple-wordpress-site-settings-with-nginx
In order to test my security, I uploaded the c99 shell to one of the sites. I was able to browse the files of the other website just by going to the parent directory of the site a few times.
-WWW
|---test.com
|------index.php
|---test2.com
|------index.php
I hope I explained this good... I already have www-data:www-data as the owner (not sure if that's the right term) of the www directory.
How do I prevent a host from traversing upwards into another hosts files or even other files on my server?
Thank you so much in advance!