dépôts
/
lhc
/
ateliers.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Ajout : vm_hosted : lhc-remorque .
[lhc/ateliers.git]
/
etc
/
nginx
/
nginx.conf
diff --git
a/etc/nginx/nginx.conf
b/etc/nginx/nginx.conf
index
fc2e23d
..
b87bf14
100644
(file)
--- a/
etc/nginx/nginx.conf
+++ b/
etc/nginx/nginx.conf
@@
-1,3
+1,5
@@
+# DOC: http://blog.martinfjordvald.com/2010/07/nginx-primer/
+daemon on;
events {
multi_accept on;
use epoll;
events {
multi_accept on;
use epoll;
@@
-7,7
+9,7
@@
http {
log_format main
'$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
log_format main
'$remote_addr - $remote_user [$time_local] "$request" '
'$status $body_bytes_sent "$http_referer" '
- '"$http_user_agent" "$http_x_forwarded_for"
nocache:$no_cache
';
+ '"$http_user_agent" "$http_x_forwarded_for"';
access_log /var/log/nginx/access.log main buffer=32k;
client_body_buffer_size 4K;
# NOTE: % getconf PAGESIZE
access_log /var/log/nginx/access.log main buffer=32k;
client_body_buffer_size 4K;
# NOTE: % getconf PAGESIZE
@@
-26,6
+28,7
@@
http {
keys_zone=microcache:10m
inactive=5m
max_size=64m;
keys_zone=microcache:10m
inactive=5m
max_size=64m;
+ fastcgi_cache microcache;
gzip on;
gzip_buffers 16 8k;
gzip_comp_level 6;
gzip on;
gzip_buffers 16 8k;
gzip_comp_level 6;