php/docker/etc/nginx/nginx.conf
Aleksander Cynarski e50cb2cdd8
All checks were successful
continuous-integration/drone/push Build is passing
alpine support
2021-03-28 20:50:39 +02:00

39 lines
634 B
Nginx Configuration File

user www-data;
daemon off;
pid /run/nginx.pid;
worker_processes auto;
worker_rlimit_nofile 65535;
include /etc/nginx/modules/*.conf;
events {
multi_accept on;
worker_connections 65535;
}
http {
charset utf-8;
sendfile on;
tcp_nopush on;
tcp_nodelay on;
server_tokens off;
log_not_found off;
types_hash_max_size 2048;
client_max_body_size 16M;
# MIME
include mime.types;
default_type application/octet-stream;
# logging
access_log /var/log/nginx/access.log;
error_log /var/log/nginx/error.log warn;
#gzip
gzip on;
# load configs
include /etc/nginx/conf.d/*.conf;
include /etc/nginx/sites-enabled/*;
}