This commit is contained in:
Mr Chen 2019-04-02 17:36:03 +08:00
parent 9079e24977
commit b96ace48d0
2 changed files with 2 additions and 6 deletions

2
rewrite/nginx/header_acao.conf Executable file
View File

@ -0,0 +1,2 @@
add_header Access-Control-Allow-Origin *;
add_header Access-Control-Allow-Methods 'GET, POST, OPTIONS';

View File

@ -1,6 +0,0 @@
location / {
if (!-e $request_filename) {
rewrite ^(.*)$ /index.php?s=$1 last;
break;
}
}