I want to expose my website to the web with default domain asined by linode. So I am going through this article http://coderscoffeehouse.com/tech/2016/08/19/real-world-aspnetcore-linux-example.htmlI have my site sitting in /var/webapiI have config sitting in /etc/nginx/sites-available/webapiuser@ubuntu:~$ ls /etc/nginx/sites-available/webapiWhich looking like thatserver { listen 80;    location / {            proxy_pass http://localhost:5000;            proxy_http_version 1.1;            proxy_set_header Upgrade $http_upgrade;            proxy_set_header Connection keep-alive;            proxy_set_header Host $host;            proxy_cache_bypass $http_upgrade;    } }Lets say my linode domain name http://xxxxx-xxx.members.linode.com/ When I am running dotnet /var/webapi/WebApi.dll: user@ubuntu:~$ dotnet /var/webapi/WebApi.dllHosting environment: ProductionContent root path: /home/userNow listening on: http://localhost:5000Application started. Press Ctrl+C to shut down.Then by navigating http://xxxxx-xxx.members.linode.com/ I am gettingFailed to load resource: the server responded with a status of 404 (Not Found)`I think it is due to my wrong configuration. May be some one can help?I was trying to edit my nginx config like that:server { listen 80; xxxxx-xxx.members.linode.com;        location / {                proxy_pass http://localhost:5000;                proxy_http_version 1.1;                proxy_set_header Upgrade $http_upgrade;                proxy_set_header Connection keep-alive;                proxy_set_header Host $host;                proxy_cache_bypass $http_upgrade;        } }then sudo service nginx restart but didn't help.
dotnet site nginx 404 error on linode
ubuntu;nginx