mirror of
https://github.com/grocy/grocy.git
synced 2025-04-29 17:45:39 +00:00
* typo corrections * more typos * initial work towards dockerized version of grocy * placeholder for future README * fully working dockerized grocy * updated final size of docker images
43 lines
937 B
Nginx Configuration File
43 lines
937 B
Nginx Configuration File
user nobody;
|
|
worker_processes 1;
|
|
|
|
pid /var/run/nginx/nginx.pid;
|
|
|
|
error_log /var/log/nginx/error.log;
|
|
|
|
events {
|
|
worker_connections 1024;
|
|
}
|
|
|
|
http {
|
|
include mime.types;
|
|
default_type application/octet-stream;
|
|
|
|
log_format main '$remote_addr - $remote_user [$time_local] "$request" '
|
|
'$status $body_bytes_sent "$http_referer" '
|
|
'"$http_user_agent" "$http_x_forwarded_for"';
|
|
|
|
sendfile on;
|
|
#tcp_nopush on;
|
|
|
|
client_body_timeout 12;
|
|
client_header_timeout 12;
|
|
keepalive_timeout 15;
|
|
send_timeout 10;
|
|
|
|
client_body_buffer_size 10K;
|
|
client_header_buffer_size 1k;
|
|
client_max_body_size 50M;
|
|
large_client_header_buffers 2 1k;
|
|
|
|
gzip on;
|
|
gzip_comp_level 2;
|
|
gzip_min_length 1000;
|
|
gzip_proxied expired no-cache no-store private auth;
|
|
gzip_types text/plain application/x-javascript text/xml text/css application/xml;
|
|
|
|
access_log on;
|
|
|
|
include /etc/nginx/conf.d/*.conf;
|
|
}
|