L
L
lookingfor22021-11-07 14:43:06
go
lookingfor2, 2021-11-07 14:43:06

Do I need Nginx for a Golang web application?

Tell me, is nginx needed for a web application? What advantages will it give over a configured server on go?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Mamonov, 2021-11-07
@lookingfor2

Not needed, Go has a full-fledged web server.
It makes sense to use Nginx if there is a need to serve more than one domain on the same IP:Port, and for distributing static (images, CSS, Javascript, etc.)
It also makes sense to use Nginx when you have a heavy load and your Go service runs on multiple servers - Nginx can load balance between these servers.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question