D
Dokployโ€ข10mo ago
Daniel

I can't run with new Drop 0.4.0 PHP code properly

I'm trying to run a simple PHP code with the new drop functionality and I end up getting a Bad Gateway error. Here is a short loom: https://www.loom.com/share/907852efbc774583ae0e914356c905b7?sid=256cc797-bcfa-4de1-81df-6157ad075c84 Thanks for your help!
6 Replies
Siumauricio
Siumauricioโ€ข10mo ago
your app is running in port 80, and the domain have a port 3000 change it to 80
Daniel
DanielOPโ€ข10mo ago
Okay, it works ๐Ÿ˜… Thanks!!! BTW, I'm really enjoying Dokploy, thank you so much for building it, it's amazing, really. The design looks like GitHub and is awesome. And this last update was smth I was looking for, to be able to just upload some files ๐Ÿ™Œ Would be great to in some way see them directly, because when I was trying to upload a zip file from my mac, it was not done correctly and it would not deploy, and being able to se the uncompressed files there would help a ton. Anyway, amazing job โค๏ธ
Siumauricio
Siumauricioโ€ข10mo ago
Thanks! I'm glad you like it a lot, I will take it into account!
Daniel
DanielOPโ€ข10mo ago
One question @Siumauricio, do you know how can I force the https? because even though I select Force SSL in Cloudflare or on Domain settings in Dokploy with Letsencrypt, I don't find the way to always force https, not being able to open http. I found the way with docker, adding some traefik options, but now that i don't have compose in this project, I don't know how to do it. Thanks!
Siumauricio
Siumauricioโ€ข10mo ago
This pr fix that issue, in the next version should arrive https://github.com/Dokploy/dokploy/pull/264
GitHub
fix: http to https by lorenzomigliorero ยท Pull Request #264 ยท Dokpl...
Fix: #253 When a domain is HTTPS, we need to generate two routers, one for the web and one for the webscure entrypoint. The redirect-to-https middleware needs to stay on the web router, otherwise i...
Daniel
DanielOPโ€ข10mo ago
That's great, happy to hear that ๐Ÿ™‚

Did you find this page helpful?