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

Serve custom 404 pages from El Proxito and storage #6322

Closed
wants to merge 1 commit into from

Conversation

humitos
Copy link
Member

@humitos humitos commented Oct 22, 2019

Continuation from #6306

@ericholscher
Copy link
Member

Yea, I thought about doing something like this. It feels pretty janky, but is basically the same solution that I was thinking about, and I can't think of a better solution.

@humitos
Copy link
Member Author

humitos commented Oct 22, 2019

OK! I'm closing this. I suppose that you will add these changes into #6286 and in the -ops repository. We can revisit this PR if needed.

@humitos humitos closed this Oct 22, 2019

add_header X-Served Nginx-Proxito-Sendfile always;
}

# Serve 404 pages here
location @notfoundfallback {
proxy_pass http://proxito:8000/404$request_uri;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

proxy_pass http://proxito:8000/_proxito_404_$request_uri;

@stsewd stsewd deleted the humitos/serve-404-proxito branch August 26, 2020 16:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants