M
M
Muxauko2020-04-23 20:49:34
go
Muxauko, 2020-04-23 20:49:34

Http server on vps?

I am writing a bot in go. I am writing as a server for VK callback. I use the http/net standard.
I listen to the port http.ListenAndServe(":8080 as a simple web server on go. I'm going to take vps on reg.ru. They give ip4 ip6 addresses there. But I don't understand how I can start my bot there, what else is required. Some say ngnix, others that it is not needed.The server is purely for a bot, as it were.How to set it up, how to deploy it there?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
E
Evgeny Samsonov, 2020-04-23
@Muxauko

nginx is not needed. Compile and run

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question