我在我的site.conf中为nginx下面的行
Server { # Some other stuff ... location / { try_files $uri /index.php?$args $uri/=404; } error_page 404 /404.html; location = /404.html { root /var/www; internal; } location ^~ /app.css { alias /var/www/public/css/app.css; access_log off; } } }
但是这是导致rewrite cycle for 404 page 。 我究竟做错了什么?