Skip to content

Commit

Permalink
hide some headers
Browse files Browse the repository at this point in the history
  • Loading branch information
thundernet8 committed Aug 2, 2017
1 parent f4674c1 commit a648215
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Nginx/i.fuli.news.conf
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,13 @@ server
proxy_cache_bypass $http_cache_control;
add_header X-Proxy-Cache $upstream_cache_status;

# hide some headers
proxy_hide_header www-authenticate;
proxy_hide_header x-object-meta-ip;
proxy_hide_header x-object-meta-md5;
proxy_hide_header x-timestamp;
proxy_hide_header x-trans-id;


location / {
#limit_req zone=one;
Expand Down

0 comments on commit a648215

Please sign in to comment.