G geuro Chevereto Member Jan 5, 2013 #1 Then I change the api_mode to Public, it becomes empty source. but the api works fine, I can upload image by api and get the right callback.
Then I change the api_mode to Public, it becomes empty source. but the api works fine, I can upload image by api and get the right callback.
G geuro Chevereto Member Jan 5, 2013 #2 Now I can upload images by api, but I can't upload images from the homepage. I think maybe it's a nginx rewrite error?
Now I can upload images by api, but I can't upload images from the homepage. I think maybe it's a nginx rewrite error?
G geuro Chevereto Member Jan 5, 2013 #3 The URL img.juetuzhi.net when I change nginx rules to Code: location / { try_files $uri $uri/ /api.php; } I got this: {"status_code":403,"status_txt":"Invalid API key"} Click to expand... when I change nginx rules to Code: location /api { try_files $uri /api.php?$args; } I got a 404 page.
The URL img.juetuzhi.net when I change nginx rules to Code: location / { try_files $uri $uri/ /api.php; } I got this: {"status_code":403,"status_txt":"Invalid API key"} Click to expand... when I change nginx rules to Code: location /api { try_files $uri /api.php?$args; } I got a 404 page.
old_Pulseeey banned Jan 5, 2013 #4 Well i use nginx but i didn't config it so not sure. Rodolfo will know straight away most probably as he uses nginx as well so please wait for his reply.
Well i use nginx but i didn't config it so not sure. Rodolfo will know straight away most probably as he uses nginx as well so please wait for his reply.
G geuro Chevereto Member Jan 5, 2013 #5 Pulseeey said: Well i use nginx but i didn't config it so not sure. Rodolfo will know straight away most probably as he uses nginx as well so please wait for his reply. Click to expand...
Pulseeey said: Well i use nginx but i didn't config it so not sure. Rodolfo will know straight away most probably as he uses nginx as well so please wait for his reply. Click to expand...
Rodolfo ⭐ Chevereto Godlike Chevereto Staff Administrator Jan 5, 2013 #6 http://chevereto.com/community/threads/nginx-working-rewrite-rules.2336/ I use Litespeed, it doesnt need special rules.
http://chevereto.com/community/threads/nginx-working-rewrite-rules.2336/ I use Litespeed, it doesnt need special rules.
G geuro Chevereto Member Jan 5, 2013 #7 Rodolfo said: http://chevereto.com/community/threads/nginx-working-rewrite-rules.2336/ I use Litespeed, it doesnt need special rules. Click to expand... It doesn't work for me.
Rodolfo said: http://chevereto.com/community/threads/nginx-working-rewrite-rules.2336/ I use Litespeed, it doesnt need special rules. Click to expand... It doesn't work for me.
Rodolfo ⭐ Chevereto Godlike Chevereto Staff Administrator Jan 5, 2013 #8 Well, it is a server issue. I'm afraid that both issues reported are not related to the script. You should ask here http://chevereto.com/community/forums/server-configuration-and-hosting.35/ for nginx help.
Well, it is a server issue. I'm afraid that both issues reported are not related to the script. You should ask here http://chevereto.com/community/forums/server-configuration-and-hosting.35/ for nginx help.