alpine-nginx-php/rootfs/etc/nginx/nginx.conf

30 lines
552 B
Nginx Configuration File
Raw Normal View History

2015-11-08 18:58:38 +00:00
user nginx;
worker_processes 1;
daemon off;
events {
worker_connections 1024;
2015-11-08 18:58:38 +00:00
}
error_log /var/log/nginx/error.log warn;
pid /var/run/nginx.pid;
http {
include /etc/nginx/mime.types;
default_type application/octet-stream;
2015-11-08 18:58:38 +00:00
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
2015-11-08 18:58:38 +00:00
'$status $body_bytes_sent "$http_referer" '
'"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main;
2015-11-08 18:58:38 +00:00
sendfile on;
gzip on;
2015-11-08 18:58:38 +00:00
keepalive_timeout 65;
2015-11-08 18:58:38 +00:00
include /etc/nginx/conf.d/*.conf;
}