Closed overlords closed 8 years ago
@phalcon :thumbsup:
I have the same problem,nginx 1.10, phalcon 3.1.0,in Macos,with same nginx config ,but the router is not work for me.
@michealzh Open please new issue with small code to reproduce
@michealzh @sergeyklay did you fix this problem? I still cant configure nginx + php-fpm.
nginx conf:
server {
listen 80;
server_name server;
root /home/apps/www/server/site/public;
index index.php index.html index.htm;
charset utf-8;
try_files $uri $uri/ @rewrite;
location @rewrite {
rewrite ^(.*)$ /index.php?command=$1;
}
location ~ \.php {
fastcgi_pass unix:/var/php5-fpm.sock;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_split_path_info ^(.+\.php)(/.+)$;
fastcgi_param PATH_INFO $fastcgi_path_info;
fastcgi_param PATH_TRANSLATED $document_root$fastcgi_path_info;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
}
location ~ /\.ht {
deny all;
}
}
@s1rc0 Open please new issue with small code (and steps) to reproduce
environment
2.0.9
0.8.0a
nginx/1.9.9
CentOS Linux release 7.2.1511 (Core)
Nginx Config
not support
support
https://docs.phalconphp.com/en/latest/reference/nginx.html
If Phancon2 does not support should be deleted in the document