I have a PHP application built on CodeIgniter. I have most of the website (the system folder for anyone who knows CodeIgniter) sitting under the root of the document.
Here is the nginx conf for the website
server {
server_name www.domain.local;
root /var/www/html/domain/frontend;
include /etc/nginx/conf.d/ci_vhost;
}
Here is the folder where I am having problems accessing /var/www/html/ci/2.0.2/system
With Apache, I never had problems accessing php files below the document root.
Does anyone know why I am having this problem with Nginx?
Thank.
source
share