DEV Community

Said Olano
Said Olano

Posted on

How to run a Nginx-web server

Nginx ("engine x") is an HTTP web server, reverse proxy, content cache, load balancer, TCP/UDP proxy server, and mail proxy server.

https://nginx.org/en/

Image description

By default the nginx-server runs in a 80 port, but if you want to expose it to outside, you need to expose it e.g. by using the 3000 port number.

Image description

Let's run the command in docker:

Image description

And finally, the result is:

Image description

Top comments (0)

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay