I have a static NextJS blog that I would like to host on the subdirectory of my main site. Like this: example.com/blog.
I've tried uploading the files and creating a location block like this:
With Next.js, you need to start your node service on a specific port like <^>3000<^> for example with npm run. And then you could use Nginx as a reverse proxy to that port with the following configuration:
So I have my main site that's built with react and express. Now I want to add a blog part to my site that's built with next.js. However I don't want to host it on something like blog.example.com I would rather host it...