feature/middleware-error-serving #3

Merged
heming merged 3 commits from feature/middleware-error-serving into main 2025-06-13 22:34:05 +02:00
Owner
No description provided.
Add middleware for automatic error page serving
Some checks failed
CI / Test on Ruby 3.4 (push) Successful in 49s
CI / Lint (push) Failing after 37s
CI / Build gem (push) Has been skipped
e7e2a44c8c
- Add Rack middleware that intercepts error responses and serves static/dynamic error pages
- Support configurable serving modes: static (default) for pre-generated files, dynamic for on-the-fly generation
- Implement X-Sendfile header support for nginx, Apache, Lighttpd and other reverse proxies
- Add path mapping configuration for nginx X-Accel-Redirect
- Include graceful error handling with fallback to dynamic rendering
- Add install generator (rails generate rsep:install) for easy setup
- Comprehensive test coverage for all middleware functionality
- Add detailed documentation for reverse proxy configuration (Thruster, Caddy, Traefik, nginx, Apache)
- Include Docker Compose examples and production-ready configuration files
- Update README with middleware usage instructions and reverse proxy setup guides
Add middleware configuration examples for Rsep
Some checks failed
CI / Test on Ruby 3.4 (push) Successful in 42s
CI / Lint (push) Failing after 36s
CI / Build gem (push) Has been skipped
74189395d3
Fix RuboCop violations in middleware feature
All checks were successful
CI / Test on Ruby 3.4 (push) Successful in 50s
CI / Lint (push) Successful in 40s
CI / Test on Ruby 3.4 (pull_request) Successful in 40s
CI / Lint (pull_request) Successful in 38s
CI / Build gem (push) Successful in 34s
CI / Build gem (pull_request) Successful in 34s
52fcde7067
- Remove outdated examples/middleware_config.rb file
- Use Rails.root.join().write() instead of File.write() for Pathname compatibility
- Split tests with multiple assertions to comply with Minitest/MultipleAssertions rule
- Add missing empty line before assertion as required by style guide
heming merged commit b5b80e0de9 into main 2025-06-13 22:34:05 +02:00
heming deleted branch feature/middleware-error-serving 2025-06-13 22:34:05 +02:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference: heming/rsep#3
No description provided.