Looks like, you can correct it in Nginx config. open default file under the folder /etc/nginx/sites-enabled/ and add the contents similar to the following:
I am not able to paste the code here. So, attaching it as a notepad
Copy the file to /etc/nginx/sites-available/ and restart Nginx to see if it helps
----------
--please don't forget to upvote
and Accept as answer
if the reply is helpful--