Cross-domain stuff
This commit is contained in:
parent
1c5df514a3
commit
d63f139841
|
@ -172,6 +172,13 @@ http {
|
|||
# opt-in to the future
|
||||
add_header "X-UA-Compatible" "IE=Edge,chrome=1";
|
||||
|
||||
# Cross domain AJAX requests
|
||||
# add_header "Access-Control-Allow-Origin" "*";
|
||||
|
||||
# Cross domain webfont access
|
||||
location ~* \.(ttf|ttc|otf|eot|woff|font.css)$ {
|
||||
add_header "Access-Control-Allow-Origin" "*";
|
||||
}
|
||||
|
||||
# Prevent clients from accessing hidden files (starting with a dot)
|
||||
location ~* (^|/)\. {
|
||||
|
|
Loading…
Reference in New Issue