Tengo un subdominio"
ad.example.com y estoy intentando instalar un CMS y se atasca en install.php con un error 404 no encontrado
server {
access_log /var/log/nginx/ad.example.com.access.log;
error_log /var/log/nginx/ad.example.com.error.log;
listen 8000;
#listen [::]:80 default_server;
server_name ad.example.com;
root /usr/local/www/ad.example.com/html;
location / {
index index.php index.html index.htm;
try_files $uri $uri/ /index.php?$args;
}
location ~ \.php$ {
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_pass unix:/var/run/php-fpm.sock;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
Aunque puedo comprobar ad.example.com/info.php, funciona, pero ad.example.com/www/admin/info.php no funciona ad.example.com/www/admin/install.php Error 404 no encontrado