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

Support custom 404 page for assets server #121

Merged
merged 3 commits into from
Jan 6, 2022
Merged

Support custom 404 page for assets server #121

merged 3 commits into from
Jan 6, 2022

Conversation

umputun
Copy link
Owner

@umputun umputun commented Jan 6, 2022

usually, reproxy passes request/response as-is, and whatever upstream sends passed to the client without any change. However, the asset server is a different beast because static files are served directly.

this PR adds an optional cli/env assets.not-found and $ASSETS_NOT_FOUND and this file should be set as a relative (to assets location) path

@umputun umputun added the enhancement New feature or request label Jan 6, 2022
@umputun umputun merged commit a963516 into master Jan 6, 2022
@umputun umputun deleted the assets404 branch January 6, 2022 06:16
@umputun umputun changed the title Support custome 404 page for assets server Support custom 404 page for assets server Jan 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant