Asp Net Core. If 502 server error occurs.
sudo nano /etc/nginx/sites-available/domain.name
proxy_pass http://localhost:5000;