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

Engage with a sea of insights in this enlightening article, highly esteemed within the encouraging DEV Community. Programmers of every skill level are invited to participate and enrich our shared knowledge.

A simple "thank you" can uplift someone's spirits. Express your appreciation in the comments section!

On DEV, sharing knowledge smooths our journey and strengthens our community bonds. Found this useful? A brief thank you to the author can mean a lot.

Okay