|
@@ -5,9 +5,9 @@ server {
|
|
|
index index.html index.php;
|
|
|
root /data/code/yuanchengpasc/public/;
|
|
|
|
|
|
- add_header Access-Control-Allow-Origin '*';
|
|
|
- add_header Access-Control-Allow-Headers 'X-Requested-With,Content-Type';
|
|
|
- add_header Access-Control-Allow-Methods 'GET,POST,OPTIONS'
|
|
|
+ #add_header Access-Control-Allow-Origin '*';
|
|
|
+ #add_header Access-Control-Allow-Headers 'X-Requested-With,Content-Type';
|
|
|
+ #add_header Access-Control-Allow-Methods 'GET,POST,OPTIONS'
|
|
|
location / {
|
|
|
if (!-e $request_filename) {
|
|
|
rewrite ^/(.*)$ /index.php/$1 last;
|