initial commit
|
1 |
user www-data; |
ajout version récente conf n...
|
2 |
worker_processes auto; |
initial commit
|
3 |
pid /run/nginx.pid; |
ajout version récente conf n...
|
4 |
include /etc/nginx/modules-enabled/*.conf; |
initial commit
|
5 | |
6 |
events { |
|
7 |
worker_connections 768; |
|
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; |
|
ajout version récente conf n...
|
20 |
# server_tokens off; |
initial commit
|
21 | |
22 |
# server_names_hash_bucket_size 64; |
|
ajout version récente conf n...
|
23 |
# server_name_in_redirect off; |
initial commit
|
24 | |
25 |
include /etc/nginx/mime.types; |
|
26 |
default_type application/octet-stream; |
|
27 | ||
28 |
## |
|
29 |
# SSL Settings |
|
30 |
## |
|
31 | ||
ajout version récente conf n...
|
32 |
ssl_protocols TLSv1 TLSv1.1 TLSv1.2 TLSv1.3; # Dropping SSLv3, ref: POODLE |
initial commit
|
33 |
ssl_prefer_server_ciphers on; |
34 | ||
35 |
## |
|
36 |
# Logging Settings |
|
37 |
## |
|
38 | ||
39 |
access_log /var/log/nginx/access.log; |
|
40 |
error_log /var/log/nginx/error.log; |
|
41 | ||
42 |
## |
|
43 |
# Gzip Settings |
|
44 |
## |
|
45 | ||
46 |
gzip on; |
|
47 | ||
ajout version récente conf n...
|
48 |
# gzip_vary on; |
49 |
# gzip_proxied any; |
|
50 |
# gzip_comp_level 6; |
|
51 |
# gzip_buffers 16 8k; |
|
52 |
# gzip_http_version 1.1; |
|
53 |
# gzip_types text/plain text/css application/json application/javascript text/xml application/xml application/xml+rss text/javascript; |
|
initial commit
|
54 | |
55 |
## |
|
56 |
# Virtual Host Configs |
|
57 |
## |
|
58 | ||
59 |
include /etc/nginx/conf.d/*.conf; |
|
60 |
include /etc/nginx/sites-enabled/*; |
|
61 |
} |
|
62 | ||
63 | ||
ajout version récente conf n...
|
64 |
#mail { |
65 |
# # See sample authentication script at: |
|
66 |
# # http://wiki.nginx.org/ImapAuthenticateWithApachePhpScript |
|
67 |
# |
|
68 |
# # auth_http localhost/auth.php; |
|
69 |
# # pop3_capabilities "TOP" "USER"; |
|
70 |
# # imap_capabilities "IMAP4rev1" "UIDPLUS"; |
|
71 |
# |
|
72 |
# server { |
|
73 |
# listen localhost:110; |
|
74 |
# protocol pop3; |
|
75 |
# proxy on; |
|
76 |
# } |
|
77 |
# |
|
78 |
# server { |
|
79 |
# listen localhost:143; |
|
80 |
# protocol imap; |
|
81 |
# proxy on; |
|
82 |
# } |
|
83 |
#} |