Skip to content

Commit

Permalink
feat: remove nginx cache
Browse files Browse the repository at this point in the history
  • Loading branch information
wojiushixiaobai authored and BaiJiangJie committed Aug 11, 2023
1 parent be2a72c commit 0a681b9
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions http_server.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,16 +2,6 @@ server {
listen 80;
# listen [::]:80;

proxy_cache cache;
proxy_cache_key $host$request_uri;
proxy_cache_methods GET HEAD;
proxy_cache_valid 200 302 720m;
proxy_cache_valid 404 1m;
proxy_cache_use_stale http_502;
proxy_set_header X-Real-IP $remote_addr;
add_header X-Via $server_addr;
proxy_hide_header Set-Cookie;

client_max_body_size 5000m;

location ~* \.(mp4|m4v|m4a)$ {
Expand Down

0 comments on commit 0a681b9

Please sign in to comment.