-
Notifications
You must be signed in to change notification settings - Fork 93
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
Fix 404 page #13
Comments
This should be pretty straightforward by adding the following to the nginx config, but I cant get it working.
I also noticed some more problems:
Maybe it would be better to fix those problems in Lemmy. |
You could redirect to this page: https://enterprise.lemmy.ml/404?err=cant_find_docs And customize with whatever message you like. I imagine the 404 stuff should be handled whenever they merge that branch. |
I think it needs to be fixed on our end. Right now we are just serving static files, so we need to specify which file should be served if the one requested cant be found. And the mdbook 404 page is clearly better in this case. |
I think its on mdBooks end... if I go to https://enterprise.lemmy.ml/docs/en/index.html , all the content-type's for css and javascript are correct. They haven't properly worked out their 404 page. I still just suggest redirecting to our 404 as a short term fix until they actually get their multi-lingual support properly working and merged. |
broken: https://lemmy.ml/docs/en/index.htmlasd
working: https://rust-lang.github.io/mdBook/cli/index.htmlasd
The text was updated successfully, but these errors were encountered: