Sign inSign up

lunasoftware/nginxsymfony

By lunasoftware

•Updated almost 5 years ago

Nginx for Symfony projects

Image
0

363

lunasoftware/nginxsymfony repository overview

⁠Nginx Symfony

This is a Ubuntu 20.04 based Docker image with Nginx configured for Symfony 5.x.

⁠You can configure this image with the following environment variables:

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"

⁠Volumes

The volume /app is mapped to the Symfony installation and volume /data is mapped to the /data location of the Nginx server.

Tag summary

Content type

Image

Digest

Size

90.2 MB

Last updated

almost 5 years ago

docker pull lunasoftware/nginxsymfony