Nginx for Symfony projects
363
This is a Ubuntu 20.04 based Docker image with Nginx configured for Symfony 5.x.
NGINX_WORKER_PROCESSES="1"
NGINX_WORKER_CONNECTIONS="512"
NGINX_TLS_PROTOCOLS="TLSv1 TLSv1.1 TLSv1.2"
NGINX_ACCESS_LOG="/var/log/nginx/access.log"
NGINX_ERROR_LOG="/var/log/nginx/error.log"
NGINX_KEEPALIVE_TIMEOUT="65"
NGINX_SERVER_CLIENT_MAX_BODY_SIZE="64M"
NGINX_SERVER_LISTEN="*:8080"
PHP_FPM_CONTAINER="php"
PHP_FPM_PORT="9001"
The volume /app is mapped to the Symfony installation and volume /data is mapped to the /data location of the Nginx server.
Content type
Image
Digest
Size
90.2 MB
Last updated
almost 5 years ago
docker pull lunasoftware/nginxsymfony