with rest backend?
1) next build && next export and after that cp all files from out/ directory to backend folder with static resources
2) deploy back-end app on one port and deploy next.js app on another port, which will run with node.js
Which one should I try to configure?
Thanks)
Depends on your hosting service I would say. I personally would go for docker and traefik as reverse proxy
Обсуждают сегодня