match all locations

beta.r3js.org
Theunis Johannes Botha 2017-02-14 02:24:33 +01:00
parent 7c1fe36abc
commit 611a191a84
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@ server {
include fastcgi_params;
}
location / {
location ~ ^/ {
add_header Access-Control-Allow-Origin $http_origin;
autoindex on;
try_files $uri $uri/ @node;