
You need to include the php file in the api location
php file in the api location
That did it, Thank you! Would it be safe to take it out of location /?
You need it in both
If you did the include just in the server block it should work but having it inside the root one makes you need it in both.
If you did the include just in the server block it should work but having it inside the root one makes you need it in both.
Ah, I see. Thank you!
Most helpful comment
You need to include the php file in the api location