mirror of
https://github.com/trambarhq/relaks-wordpress-example.git
synced 2025-09-03 05:02:34 +02:00
Added configuration for accessing remote instance of WordPress (issue #23).
This commit is contained in:
@@ -25,6 +25,8 @@ server {
|
||||
proxy_cache_min_uses 1;
|
||||
proxy_cache_valid 200 301 302 120m;
|
||||
proxy_cache_valid 404 1m;
|
||||
proxy_hide_header Cache-Control;
|
||||
proxy_ignore_headers Cache-Control Expires Set-Cookie;
|
||||
|
||||
add_header Access-Control-Allow-Origin *;
|
||||
add_header Cache-Control "public,max-age=0";
|
||||
|
Reference in New Issue
Block a user