瀏覽代碼

Cache error 410 responses in recommended nginx configuration (#10425)

master
Eugen Rochko 5 年之前
committed by GitHub
父節點
當前提交
b7379da6cc
沒有發現已知的金鑰在資料庫的簽署中 GPG 金鑰 ID: 4AEE18F83AFDEB23
共有 1 個檔案被更改,包括 1 行新增0 行删除
  1. +1
    -0
      dist/nginx.conf

+ 1
- 0
dist/nginx.conf 查看文件

@@ -78,6 +78,7 @@ server {

proxy_cache CACHE;
proxy_cache_valid 200 7d;
proxy_cache_valid 410 24h;
proxy_cache_use_stale error timeout updating http_500 http_502 http_503 http_504;
add_header X-Cached $upstream_cache_status;
add_header Strict-Transport-Security "max-age=31536000";


Loading…
取消
儲存