API 404 on Nginx
Posted: 03 Apr 2019, 15:57
I've been trying to get the rewriting correct on a server with nginx. Mantisbt is in a subdirectory /dev/. Has anyone gotten the api to work on nginx?
Thanks!
Thanks!
So, API requests do not go to PHP-FPM but nginx tries to process them as usual files and nginx have this kind of errors in errorloglocation ~ \.php$ {
...
}
This location block also can be used for security by limiting access to it by IP address for example.location /api/soap {
...
}