7

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

Shire
  • 398
  • 2
  • 9

1 Answers1

9

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?

Community
  • 1
  • 1
elithrar
  • 23,364
  • 10
  • 85
  • 104