This commit is contained in:
Mr Chen
2019-04-02 17:36:03 +08:00
parent 03655f16eb
commit e6e6dab8f6
2 changed files with 2 additions and 6 deletions
+2
View File
@@ -0,0 +1,2 @@
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';
-6
View File
@@ -1,6 +0,0 @@
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}