4klift php-fpm server with Cassandra driver.
1.7K
4klift php-fpm server.
Contains Cassandra php driver.
docker pull deasil/4klift-server
docker run --rm -d --name=4klift-server --network=bridged \
-v $(pwd):/app 4klift-server
Run an nginx container with the vhost proxy backend set to fastcgi_pass 4klift-server:9000;.
server {
listen 0.0.0.0:80;
server_name some.example.com;
root /app/www;
location / {
# try to serve file directly, fallback to front controller
try_files $uri /index.php$is_args$args;
}
# If you have 2 front controllers for dev|prod use the following line instead
# location ~ ^/(index|index_dev)\.php(/|$) {
location ~ ^/index.php(/|$) {
fastcgi_pass 4klift-server:9000;
fastcgi_split_path_info ^(.+\.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param HTTPS off;
internal;
}
}
MIT
Content type
Image
Digest
Size
394 MB
Last updated
over 7 years ago
docker pull deasil/4klift-server