- nginx
try_files $uri =404;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi.conf;
-
nginx 没有 error log
-
php-fpm
listen = 127.0.0.1:9000
listen.backlog = -1
listen.allowed_clients = 127.0.0.1
docker run --name php -p 9000:9000 -v /xxx:/xxx -d php:v1
docker run --name nginx -p 8080:80 -v /xxx:/xxx --link php:php -d nginx:v1