mirror of
https://github.com/trambarhq/relaks-wordpress-example.git
synced 2025-09-03 05:02:34 +02:00
Moved Cache-Control into Node code.
Fixed typo in image link handling code.
This commit is contained in:
@@ -23,12 +23,10 @@ server {
|
||||
proxy_cache_key $uri$is_args$args;
|
||||
proxy_cache_min_uses 1;
|
||||
proxy_cache_valid 400 404 1m;
|
||||
proxy_hide_header Cache-Control;
|
||||
proxy_ignore_headers Vary;
|
||||
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
add_header Access-Control-Expose-Headers X-WP-Total;
|
||||
add_header Cache-Control "public,max-age=0";
|
||||
add_header X-Cache-Date $upstream_http_date;
|
||||
add_header X-Cache-Status $upstream_cache_status;
|
||||
}
|
||||
|
Reference in New Issue
Block a user