Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to host go application on dedicated server, without using google app engine

Is it possible to host a go application on apache/nginx server ?

like image 899
Shire Avatar asked Mar 09 '14 05:03

Shire


1 Answers

Of course. You can use Go's built in web-server directly (which is very capable), or sit behind a nginx/Apache reverse proxy if you so wish.

I run my Go application behind nginx, and use supervisord to manage logging, restarting and managing my Go application.

Take a look at these two answers for some more details: Golang production web application configuration and Webserver for Go (golang) webservices: using NGINX or not?

like image 116
elithrar Avatar answered Sep 18 '22 23:09

elithrar