Skip to content

Commit

Permalink
fix: disabled sent.log, extend expiration time for static: 30d -> 365d
Browse files Browse the repository at this point in the history
  • Loading branch information
popstas committed Nov 12, 2019
1 parent 1536702 commit 4233e10
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions defaults/main.yml
Expand Up @@ -216,9 +216,9 @@ site_nginx_location_static_files: |
# Static files location
location ~* ^.+\.(?:jpg|jpeg|gif|png|ico|css|less|zip|tgz|gz|rar|bz2|doc|docx|xls|xlsx|ppt|ppts|pptsx|exe|txt|tar|mid|midi|wav|bmp|rtf|js|swf|flv|woff|woff2|eot|ttf|cur|svg)$
{
access_log /var/log/nginx/sent.log sent;
# access_log /var/log/nginx/sent.log sent;
log_not_found off;
expires 30d;
expires 365d;
## No need to bleed constant updates. Send the all shebang in one
## fell swoop.
tcp_nodelay off;
Expand Down

0 comments on commit 4233e10

Please sign in to comment.