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

Comments

Projects
None yet
3 participants
@julianvmodesto
Copy link
Contributor

commented Sep 22, 2017

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

This comment has been minimized.

@tamalsaha

This comment has been minimized.

@tamalsaha

This comment has been minimized.

Copy link
Member

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

This comment has been minimized.

@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
You can’t perform that action at this time.