parent
46e4d5b30b
commit
bf0e3657f9
|
@ -1,2 +0,0 @@
|
|||
# Cross domain AJAX requests
|
||||
add_header "Access-Control-Allow-Origin" "*";
|
|
@ -0,0 +1,15 @@
|
|||
# Cross domain AJAX requests
|
||||
|
||||
# **Security Warning**
|
||||
# Do not use this without understanding the concequences.
|
||||
# This will permit access from any other website.
|
||||
#
|
||||
add_header "Access-Control-Allow-Origin" "*";
|
||||
|
||||
# Instead of using this file, consider using a specific rule such as:
|
||||
#
|
||||
# Allow access based on [sub]domain:
|
||||
# add_header "Access-Control-Allow-Origin" "subdomain.example.com";
|
||||
# OR
|
||||
# add_header "Access-Control-Allow-Origin" "*.example.com";
|
||||
|
|
@ -1,6 +1,6 @@
|
|||
# Cross domain webfont access
|
||||
location ~* \.(?:ttf|ttc|otf|eot|woff)$ {
|
||||
add_header "Access-Control-Allow-Origin" "*";
|
||||
include h5bp/directive-only/cross-domain-insecure.conf;
|
||||
|
||||
# Also, set cache rules for webfonts.
|
||||
#
|
||||
|
|
Loading…
Reference in New Issue