match all locations
parent
7c1fe36abc
commit
611a191a84
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue