Synology Installation and APIs: Missing configuration

Riccardo R 2 years ago 0

Today I tested the communication with the API on two type of installations:

- Plain Synology

- Docker

On Docker installation everything is fine.

On a Synology (using the plain installation istructions) I am able to gain request/access tokens but I am unable to call all the other routes based on "api.php".

The error I get from nginx server is the following:

Image 697

Where the path to "..../api.php/admin-users/info" fails to be served since nginx regards "api.php" as a directory to traverse instead of the php file to execute and handle.

It seems the instructions for plain Synology installation are missing some kind of "rewrite" or "flag".

Anyone who can point me to the right direction?