]> jfr.im git - uguu.git/blob - docker/nginx/nginx.conf
22ca8510ab21a80fecfec13f0974e6673e4c4608
[uguu.git] / docker / nginx / nginx.conf
1 user www-data;
2 worker_processes auto;
3 pid /run/nginx.pid;
4 include /etc/nginx/modules-enabled/*.conf;
5
6 events {
7 worker_connections 1024;
8 multi_accept on;
9 }
10
11 http {
12
13 ##
14 # Basic Settings
15 ##
16
17 sendfile on;
18 tcp_nopush on;
19 types_hash_max_size 2048;
20 client_max_body_size 128M;
21 # server_tokens off;
22
23 # server_names_hash_bucket_size 64;
24 # server_name_in_redirect off;
25
26 include /etc/nginx/mime.types;
27 default_type application/octet-stream;
28
29 ##
30 # SSL Settings
31 ##
32
33 ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE
34 ssl_prefer_server_ciphers on;
35
36 ##
37 # Logging Settings
38 ##
39
40 access_log off;
41 error_log /var/log/nginx/error.log;
42
43 ##
44 # Gzip Settings
45 ##
46
47 gzip on;
48
49 # gzip_vary on;
50 # gzip_proxied any;
51 # gzip_comp_level 6;
52 # gzip_buffers 16 8k;
53 # gzip_http_version 1.1;
54 # gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript;
55
56 ##
57 # Virtual Host Configs
58 ##
59
60 include /etc/nginx/conf.d/*.conf;
61 include /etc/nginx/sites-enabled/*;
62 }