#Deploying Next.js+Laravel project on server
9 messages · Page 1 of 1 (latest)
No not docker, Im trying to deploy it with node.js and PM2, I configured nginx to proxy_pass on port 3000 after port 80 is opened, when I tried to deploy just next.js project it worked, but then I tried with laravel and...
@hard escarp What do you think, should I try with different domains, like: api-exmaple.com for laravel and exmaplem.com for next , or just different ports is enough
@potent verge
Hmm, I am not a Laravel expert, but I have managed to get Laravel working with a Vue 3 frontend.
How is webpack set up?
You shouldn't need to deploy it on different ports or domains, it should be able to be accessed on the same domain and port
Its with Vite set up, as always with simple configuration not alike webpack, I made different repositories, so in your opinion seperating them in diff repositories and ports is not neccessary right?
No, it should be deployed in the same repository
Ok, thanks for your time🙏🏽