- Wed Aug 03, 2016 1:06 am
#786235
I install processmaker CE with "nginx + php-fpm" instead of "apache",when i login,the page says "file not found"http://basesite/sysworkflow/en/neoclass ... cation.php".
If I edit file "login.php" and remove ".php" extension then everything is OK. Here is my nginx config
.I noticed that the browser request for url like "If I edit file "login.php" and remove ".php" extension then everything is OK. Here is my nginx config
Code: Select all
What did I missing? server {
listen 80;
server_name processmaker.cn;
root /Users/qingmeng-02/Source/www/processmaker/workflow/public_html;
charset utf-8;
#access_log logs/host.access.log main;
location / {
index index.html index.htm index.php;
try_files $uri $uri/ /app.php?$args;
}
#error_page 404 /404.html;
# redirect server error pages to the static page /50x.html
#
error_page 500 502 503 504 /50x.html;
location = /50x.html {
root html;
}
# pass the PHP scripts to FastCGI server listening on 127.0.0.1:9000
#
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
include fastcgi_params;
}
# deny access to .htaccess files, if Apache's document root
# concurs with nginx's one
#
#location ~ /\.ht {
# deny all;
#}
}