Zend framework nginx+php pfm+zendframework2重写规则? 我的环境 nginx 1.6.4 PHP5.4 zf 2.3

Zend framework nginx+php pfm+zendframework2重写规则? 我的环境 nginx 1.6.4 PHP5.4 zf 2.3,zend-framework,zend-framework2,Zend Framework,Zend Framework2,我的nginx vhost conf文件 谁能帮我?我修不好 您好,这个配置有什么问题吗?我得到一个502错误,谷歌说php5.3很好,但5.4谷歌没有结果 server { listen 80; server_name domain; access_log /home/wwwlogs/domain_nginx.log combined; index index.html index.htm index.jsp index.php;

我的nginx vhost conf文件


谁能帮我?我修不好

您好,这个配置有什么问题吗?我得到一个502错误,谷歌说php5.3很好,但5.4谷歌没有结果 server { listen 80; server_name domain; access_log /home/wwwlogs/domain_nginx.log combined; index index.html index.htm index.jsp index.php; include none.conf; root /home/wwwroot/domain; #error_page 404 /404.html; if ( $query_string ~* ".*[\;'\].*" ){ return 404; } location ~ .*\.(wma|wmv|asf|mp3|mmf|zip|rar|jpg|gif|png|swf|flv)$ { if ($invalid_referer) { #rewrite ^/ http://www.linuxeye.com/403.html; return 403; } } location ~ .*\.(php|php5)?$ { #fastcgi_pass remote_php_ip:9000; fastcgi_pass unix:/dev/shm/php-cgi.sock; fastcgi_index index.php; include fastcgi.conf; } location ~ .*\.(gif|jpg|jpeg|png|bmp|swf|flv|ico)$ { expires 30d; } location ~ .*\.(js|css)?$ { expires 7d; } }