[Bug]: Getting Welcome to nginx! on deployment
Error Message and Logs
Im trying to deploy a nextjs app, first time it worked good, i changed some names here and there and suddenly my deployment start showing Welcome to nginx! home screen, after a long trial and error i deleted this deployment to deploy a new one, but this one still shows the Welcome to nginx!
this is the setting of the deployment
Steps to Reproduce
- load a next repo using github app
- fill env variables and deploy
Example Repository URL
No response
Coolify Version
v4.0.0-beta.360
Are you using Coolify Cloud?
No (self-hosted)
Operating System and Version (self-hosted)
Ubuntu
Additional Information
No response
if i deploy without changinganything else but the domain name and build/start commands, then it works, so the bug should be around changing name or toggling static site option, this is the config that works
in your first image you had picked static site
In the docs it say to pick static site for a nextjs app
On Sun, Oct 13, 2024, 7:29 AM Darren Sisson @.***> wrote:
in your first image you had picked static site
— Reply to this email directly, view it on GitHub https://github.com/coollabsio/coolify/issues/3904#issuecomment-2408960824, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6NKLAVYSKMI4I3RSP36FUTZ3JRUNAVCNFSM6AAAAABP27OIGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBYHE3DAOBSGQ . You are receiving this because you authored the thread.Message ID: @.***>
@AlejandroSanchez90 if it has no ssr, you can use static, but you would need to set publish directory to /out not /
Got it thanks!
On Sun, Oct 13, 2024, 11:38 AM Darren Sisson @.***> wrote:
@AlejandroSanchez90 https://github.com/AlejandroSanchez90 if it has no ssr, you can use static, but you would need to set publish directory to /out not /
— Reply to this email directly, view it on GitHub https://github.com/coollabsio/coolify/issues/3904#issuecomment-2409044179, or unsubscribe https://github.com/notifications/unsubscribe-auth/A6NKLAV3BC7ZE4AZXCT6QGTZ3KOZNAVCNFSM6AAAAABP27OIGSVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDIMBZGA2DIMJXHE . You are receiving this because you were mentioned.Message ID: @.***>