nginx/files/nginx.conf
changeset 253 4ca131e557dc
parent 252 7a54477702cc
equal deleted inserted replaced
252:7a54477702cc 253:4ca131e557dc
    36 
    36 
    37         ##
    37         ##
    38         # Logging Settings
    38         # Logging Settings
    39         ##
    39         ##
    40 
    40 
    41         map $uri $loggable {
    41         access_log off;
    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;
       
    47         error_log /var/log/nginx/error.log;
    42         error_log /var/log/nginx/error.log;
    48 
    43 
    49         ##
    44         ##
    50         # Gzip Settings
    45         # Gzip Settings
    51         ##
    46         ##