Is it possible to host a go application on apache/nginx server ?
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?
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With