Problem Description
After [running an ASP.NET vNext project](http://xameeramir.github.io/asp-net-5-ubuntu-linux/) on my local machine I was trying to figure out how I can run it on [nginx](https://www.nginx.com/) as it looks to be a [recommended choice](https://docs.asp.net/en/latest/fundamentals/servers.html#choosing-a-server)
Following [jsinh's](https://stackoverflow.com/users/376196/jsinh) [blog](http://blog.jsinh.in/hosting-asp-net-5-web-application-on-linux/), I installed it using:
sudo apt-get update
sudo apt-get install nginx -y
I was trying to understand whether it is working or not by using:
ifconfig eth0 | grep inet | awk '{ print $2}'
After running
sudo service nginx start
sudo service nginx stop
However, the output is always the same:
[![Nginx status][1]][1]
>How to verify if nginx is running or not?
[1]: https://i.sstatic.net/VXHlX.png
AI-Generated Solution
Powered by LMSouq AI · GPT-4.1-mini
Analyzing problem and generating solution…
Was this solution helpful?