Let's say I have a domain example.com
. I want to write a main application using Node.js and some components using Golang.
Is it possible to run api.example.com/first
using Node.js and api.example.com/second
using Golang? Or is it possible to write run different applications on different subdomains?
Best way I can think of is to:
Check out this tutorial on how to do the previous: https://flaviocopes.com/go-nginx-reverse-proxy/