Join 1M+ other developers and:
- Get help and share knowledge in Q&A
- Subscribe to topics of interest
- Get courses & tools that help you grow as a developer or small business owner
server return 504 when uploading file
I’m using multer to upload the file on the server that is working perfectly on the localhost and as soon as i deploy it to digital ocean droplet and when I hit the upload-file endpoint it waits for around 30 seconds then returns 504 bad gateway.
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.×