| changeset 252 | 7a54477702cc |
| parent 47 | 3f1771bb0d79 |
| child 253 | 4ca131e557dc |
| 251:f9f96b8c092e | 252:7a54477702cc |
|---|---|
36 |
36 |
37 ## |
37 ## |
38 # Logging Settings |
38 # Logging Settings |
39 ## |
39 ## |
40 |
40 |
41 access_log /var/log/nginx/access.log; |
41 map $uri $loggable { |
42 default 1; |
|
43 ~*\.(css|js|ico|png|jpg|jpeg|gif|svg|woff|woff2|ttf|eot|webp|map)$ 0; |
|
44 } |
|
45 |
|
46 access_log /var/log/nginx/access.log combined if=$loggable; |
|
42 error_log /var/log/nginx/error.log; |
47 error_log /var/log/nginx/error.log; |
43 |
48 |
44 ## |
49 ## |
45 # Gzip Settings |
50 # Gzip Settings |
46 ## |
51 ## |