Привет.
После включения кеша fastcgi ошибки 502 сменились на 504. Это ожидаемое поведение?
fastcgi_cache_path /var/cache/nginx
levels=2
keys_zone=NAME:50m
max_size=1024m
inactive=5m;
fastcgi_temp_path /var/cache/nginx/fastcgi_temp;
fastcgi_cache_key $cookie_uid|$scheme|$request_method|$host|$request_uri";
fastcgi_cache_methods GET HEAD;
map $request_uri $no_cache {
default 1;
~/gsa/index 0;
~/product/ 0;
}
fastcgi_no_cache $no_cache;
fastcgi_cache_bypass $no_cache;