Back to Restful Api Support

david.provaznik.j39933
david.provaznik.j39933

Hi, is there some specially settings of nginx server for using your plugin? After migrate from apache http to nginx HTTPS Api not response data if get query contains parameters. For apicalls without parameters is all ok, but if request contain parameters response is: { "success": true, "code": "200", "message": "OK", "data": [] } variable data is empty, but system contains data... Thank you

david.provaznik.j39933
david.provaznik.j39933

SOLVED: mistake in nginx.conf location / { try_files $uri $uri/ /index.php?$query_string; }

missing question mark in settings: try_files $uri $uri/ /index.php$query_string

1-2 of 2