05a83d383f
- upgrade docker compose to v2 - build images locally instead of pulling them from the registry - separate php container form nginx container - support all the php versions including php 7.0 - remove beanstalked container to be optionally added later by the user
30 lines
520 B
Nginx Configuration File
30 lines
520 B
Nginx Configuration File
user www-data;
|
|
worker_processes 4;
|
|
pid /run/nginx.pid;
|
|
|
|
events {
|
|
worker_connections 2048;
|
|
multi_accept on;
|
|
use epoll;
|
|
}
|
|
|
|
http {
|
|
server_tokens off;
|
|
sendfile on;
|
|
tcp_nopush on;
|
|
tcp_nodelay on;
|
|
keepalive_timeout 15;
|
|
types_hash_max_size 2048;
|
|
include /etc/nginx/mime.types;
|
|
default_type application/octet-stream;
|
|
access_log off;
|
|
error_log off;
|
|
gzip on;
|
|
gzip_disable "msie6";
|
|
include /etc/nginx/conf.d/*.conf;
|
|
include /etc/nginx/sites-available/*;
|
|
open_file_cache max=100;
|
|
}
|
|
|
|
daemon off;
|