diff --git a/conf/nginx.conf b/conf/nginx.conf index fb1fe8d..53b74ad 100755 --- a/conf/nginx.conf +++ b/conf/nginx.conf @@ -43,7 +43,7 @@ location __PATH__/ { expires off; gzip off; default_type "image/gif"; - add_header 'Access-Control-Allow-Origin' *; + more_set_headers "Access-Control-Allow-Origin: *"; try_files $uri /index.php?$args; }