Skip to content

Commit

Permalink
Fix nginx cache (#8558)
Browse files Browse the repository at this point in the history
  • Loading branch information
NickM-27 authored Nov 9, 2023
1 parent d0036b2 commit aa93d4f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docker/main/rootfs/usr/local/nginx/conf/nginx.conf
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ http {

proxy_cache_path /dev/shm/nginx_cache levels=1:2 keys_zone=api_cache:10m max_size=10m inactive=1m use_temp_path=off;

map $http_accept $should_not_cache {
map $sent_http_content_type $should_not_cache {
'application/json' 0;
default 1;
}
Expand Down Expand Up @@ -261,4 +261,4 @@ rtmp {
meta copy;
}
}
}
}

0 comments on commit aa93d4f

Please sign in to comment.