1
0
mirror of https://github.com/trambarhq/relaks-wordpress-example.git synced 2025-10-01 09:46:53 +02:00

Added author name and date (issue #6).

Fixed CORS.
This commit is contained in:
Chung Leong
2019-01-15 03:16:56 +01:00
parent 6e4803c678
commit e1d24ce693
12 changed files with 87 additions and 22 deletions

View File

@@ -7,8 +7,10 @@ proxy_cache_valid 404 1m;
proxy_hide_header Cache-Control;
proxy_hide_header Expires;
proxy_hide_header Set-Cookie;
proxy_hide_header Access-Control-Allow-Origin;
proxy_ignore_headers Cache-Control Expires Set-Cookie;
add_header Cache-Control "public,must-revalidate";
add_header X-Cache-Date $upstream_http_date;
add_header X-Cache-Status $upstream_cache_status;
add_header Access-Control-Allow-Origin *;