我的索引工作正常,其他页面无法正常工作并向我显示错误500,我的输出日志是
2016/11/23 17:26:47 [error] 51445#0: *6 rewrite or internal redirection cycle while internally redirecting to "/index.php/", client: 127.0.0.1, server: projetofinal.dev, request: "GET /favicon.ico HTTP/1.1", host: "projetofinal.dev", referrer: "http://projetofinal.dev/categoria/noticias"
我在论坛中尝试了其他解决方案,但我没有成功
文件夹结构 http://i.imgur.com/OJBi3tw.png
我的服务器阻止
server {
listen 80;
server_name projetofinal.dev;
root /var/www/cursos/ws_php/modulos/12-projeto-final;
location / {
try_files $uri $uri/ /index.php/?url=$1;
index index.php index.html index.htm;
}
access_log /usr/local/etc/nginx/logs/projetofinal.access.log main;
error_log /usr/local/etc/nginx/logs/projetofinal.error.log;
# PHP-FPM SUPPORT
include /usr/local/etc/nginx/conf.d/php-fpm;
}