Back to Browse

NGINX Cache

6.7K views
Jan 31, 2021
14:27

This video show the basic configuration of NGINX Caching. I hope this video can help you, if you have some problems or have some other questions, please can ask me in the comment bellow. NGINX Cache Configuration : proxy_cache_path /tmp/cache keys_zone=mycache:10m levels=1:2 inactive=120s max_size=100m; server { listen 80; server_name nginx.aws.com; proxy_cache mycache; proxy_cache_valid 30m; add_header X-Proxy-Cache $upstream_cache_status; location / { proxy_pass http://172.31.45.5; } }

Download

1 formats

Video Formats

360pmp420.3 MB

Right-click 'Download' and select 'Save Link As' if the file opens in a new tab.

NGINX Cache | NatokHD