Hello all,
I have problem with accessing index.php&login=true. It gives 404 error. But when i try to access only index.php it works.
here is config: sites-available/localhost.conf
server {
listen 80;
server_name localhost;
access_log /var/log/nginx/localhost.access.log;
error_log /var/log/nginx/localhost.error.log;
root /home/user/www/localhost/htdocs;
#autoindex on;
location /pma {
index index.php;
}
location / {
index index.php;
}
location ~ \.php$ {
# Filter out arbitrary code execution
#location ~ \..*/.*\.php$ {return 404;}
include fastcgi_params;
fastcgi_pass localhost:9000;
#fastcgi_pass unix:/var/run/php5-fpm.socket;
#fastcgi_pass localhost;
}
}