我设法让这个工作回来了一段时间,但是回到我开始的cakephp项目时,似乎我最近对nginx所做的任何改变(或者最近的更新)都破坏了我的重写规则. 目前我有:worker_processes 1;events {worker_connections 1024; }http {include mime.types;default_type application/octet-stream;sendfile on;keepalive_timeout 65;server {listen 80;server_name localhost;location / {root html;index index.php index....