this is my nginx.conf file, my react app is hosted on nginx and calling api endpoints, my api end points starts something like this https://export. https://report. etc. 9 out of 10 endpoints are working, only for one endpoint its giving 404.
server {
listen 80;
location / {
root /usr/share/nginx/html;
index index.html index.htm;
try_files $uri $uri/ /index.html =404;
}
}