diff --git a/nginx/sites-available/cloud.grupopralog.com.br.conf b/nginx/sites-available/cloud.grupopralog.com.br.conf index cf8aacb..e5342fc 100644 --- a/nginx/sites-available/cloud.grupopralog.com.br.conf +++ b/nginx/sites-available/cloud.grupopralog.com.br.conf @@ -160,7 +160,7 @@ server { proxy_cache_valid 200 12h; proxy_cache_lock on; proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; - proxy_ignore_headers "Cache-Control" "Expires" "Pragma"; + proxy_ignore_headers "Cache-Control" "Expires" ; add_header Cache-Control "public, max-age=43200"; more_set_headers 'X-Theme-Asset-Cache: $upstream_cache_status'; } @@ -211,7 +211,7 @@ server { proxy_cache_valid 200 5m; proxy_cache_lock on; proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; - proxy_ignore_headers "Cache-Control" "Expires" "Pragma"; + proxy_ignore_headers "Cache-Control" "Expires" ; add_header Cache-Control "public, max-age=300"; more_set_headers 'X-Public-Preview-Cache: $upstream_cache_status'; } @@ -256,7 +256,7 @@ server { proxy_cache_valid 200 30s; proxy_cache_lock on; proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; - proxy_ignore_headers "Cache-Control" "Expires" "Pragma"; + proxy_ignore_headers "Cache-Control" "Expires"; add_header Cache-Control "public, max-age=30"; more_set_headers 'X-Autocomplete-Cache: $upstream_cache_status'; } @@ -273,7 +273,7 @@ server { proxy_cache_valid 200 30s; proxy_cache_lock on; proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; - proxy_ignore_headers "Cache-Control" "Expires" "Pragma"; + proxy_ignore_headers "Cache-Control" "Expires"; add_header Cache-Control "public, max-age=30"; more_set_headers 'X-Sharee-Search-Cache: $upstream_cache_status'; } @@ -306,7 +306,7 @@ server { proxy_cache_valid 200 10s; proxy_cache_lock on; proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; - proxy_ignore_headers "Cache-Control" "Expires" "Pragma"; + proxy_ignore_headers "Cache-Control" "Expires"; add_header Cache-Control "public, max-age=10"; more_set_headers 'X-User-Status-Cache: $upstream_cache_status'; } @@ -339,7 +339,7 @@ server { proxy_cache_valid 200 15m; proxy_cache_lock on; proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; - proxy_ignore_headers "Cache-Control" "Expires" "Pragma"; + proxy_ignore_headers "Cache-Control" "Expires"; add_header Cache-Control "public, max-age=900"; more_set_headers 'X-LDAP-Config-Cache: $upstream_cache_status'; } @@ -355,7 +355,7 @@ server { proxy_cache_valid 200 5m; proxy_cache_lock on; proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504; - proxy_ignore_headers "Cache-Control" "Expires" "Pragma"; + proxy_ignore_headers "Cache-Control" "Expires; add_header Cache-Control "public, max-age=300"; more_set_headers 'X-GroupFolders-Cache: $upstream_cache_status'; }