From 611a191a84abe4d8efa07cb7add93ff1c6d47791 Mon Sep 17 00:00:00 2001 From: Theunis Johannes Botha Date: Tue, 14 Feb 2017 02:24:33 +0100 Subject: [PATCH] match all locations --- nginx/3d-editor.conf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nginx/3d-editor.conf b/nginx/3d-editor.conf index e0ff99e..003d9a9 100644 --- a/nginx/3d-editor.conf +++ b/nginx/3d-editor.conf @@ -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;