I have flask app running using blueprint and api object initialised with prefix of api
api = Api(_bp, catch_all_404s=True, prefix="/api", version=0.1,
title="Clinical record management REST HTTP API's Gateway",
descrition="REST API gateway for Clinical Record Management.")
and I have setup nginx configuration for my site
location /api {
root /var/www/html;
try_files $uri @wsgi;
}
but navigating to location ipAddress/api
doesn't work
I get errr saying :
Not Found
The requested URL was not found on the server. If you entered the URL manually please check your spelling and try again.