SkyCryptWebsite / SkyCrypt

A Hypixel skyblock stats website
https://sky.shiiyu.moe
MIT License
272 stars 136 forks source link

Custom server down error #287

Open nstringham opened 3 years ago

nstringham commented 3 years ago

Is your suggestion related to a problem? Please describe in detail. when the server is restarting a generic Cloudflare error is shown witch doesn't explain to the user what is happening

Describe your suggestion the server shows a custom error message such as offline.html I think this could proboly be done with nginx

Describe alternatives you've considered I tried using service workers but this doesn't work because Cloudflare

Additional context like this: image

not this: image

MartinNemi03 commented 3 years ago

I don't think we can customize Cloudflare's error messages. However, we can customize nginx's error messages and I would want to customize those for when you react the internal limit.

mrdeadi02 commented 1 year ago

I don't think we can customize Cloudflare's error messages. However, we can customize nginx's error messages and I would want to customize those for when you react the internal limit.

You can customize: https://developers.cloudflare.com/support/more-dashboard-apps/cloudflare-custom-pages/configuring-custom-pages-error-and-challenge/

nstringham commented 1 year ago

I don't think we can customize Cloudflare's error messages. However, we can customize nginx's error messages and I would want to customize those for when you react the internal limit.

You can customize: https://developers.cloudflare.com/support/more-dashboard-apps/cloudflare-custom-pages/configuring-custom-pages-error-and-challenge/

Does that work with the free tier?

mrdeadi02 commented 1 year ago

I don't think we can customize Cloudflare's error messages. However, we can customize nginx's error messages and I would want to customize those for when you react the internal limit.

You can customize: https://developers.cloudflare.com/support/more-dashboard-apps/cloudflare-custom-pages/configuring-custom-pages-error-and-challenge/

Does that work with the free tier?

It requires a payed plan: Pro, Business, or Enterprise.