Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuration of error files #525

Closed
julianvmodesto opened this issue Sep 22, 2017 · 4 comments
Closed

Allow configuration of error files #525

julianvmodesto opened this issue Sep 22, 2017 · 4 comments
Milestone

Comments

@julianvmodesto
Copy link
Contributor

I'd like to be able to edit the default error files. Perhaps we could make this available for editing in a ConfigMap?

@tamalsaha tamalsaha added this to the 4.1.0 milestone Sep 25, 2017
@tamalsaha
Copy link
Contributor

@tamalsaha
Copy link
Contributor

@tamalsaha
Copy link
Contributor

tamalsaha commented Oct 4, 2017

ingress.appscode.com/errorfiles: <configmap-name>

ConfigMap key/value

503.http   : <content of 503.http>
408        : []byte("errorfile /dev/null")
500        : []byte("errorloc https://example.com/500.hlml")

Generated haproxy.cfg

errorfile 503 /srv/voyager/errorfiles/503.http
errofile  408 /dev/null
errloc    500 https://example.com/500.hlml

@tamalsaha
Copy link
Contributor

@tamalsaha tamalsaha modified the milestones: 4.1.0, 4.0.0 Oct 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants