zodern / meteor-up

Production Quality Meteor Deployment to Anywhere
http://meteor-up.com/
MIT License
1.27k stars 281 forks source link

Custom 50x error pages #1090

Open tjramage opened 5 years ago

tjramage commented 5 years ago

When deploying, our server goes down for a very small amount of time when the bundled app is being swapped out. If a request to the server is made during this small window, a 502 error (bad gateway) is displayed.

How can I configure this error message so that I can return a styled page? I understand you can extend the nginx config in the mup settings, but I'm not sure how I can ensure my custom HTML templates would be accessible to the nginx Docker container...

Thanks!

koolamusic commented 5 years ago

Any pointers on how to go about this ?

tjramage commented 4 years ago

@koolamusic — Nope, sorry! Did you manage to figure out how to make any progress with this?

@zodern — Do you have any pointers / quick fixes we could follow to push forwards with a custom solution? Happy to contribute 👍

Batistleman commented 3 years ago

Can I manually set it to 503 or something when deploying? (A minimal HTML template that refreshes the page each ~20sec would be very useful)