Skip to content
This repository was archived by the owner on Dec 13, 2018. It is now read-only.
This repository was archived by the owner on Dec 13, 2018. It is now read-only.

Service Unavailable (503) Custom HTML #242

@franky-continu

Description

@franky-continu

I have a very basic (Next, next, next) HAProxy LB on cloud.docker.com.

I don't have any repository and I do all the configuration through Environment Variables. Even Certs.

I can't find a way to have a custom 503 message. Every time we deploy our web-app it takes about 30 seconds to build and it can happen that we get a service unavailable because the web server is building and starting up.

We get the standard 503, but I read somewhere that you can put an errorfile command or something like that and you can put a static html basically and maybe we can say something like:

We are updating, sorry for the trouble, etc.

Can I use an Environment Variable to do that? Even if I copy and paste HTML into the env-variable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions