This commit is contained in:
14
openspec/changes/archive/2026-02-10-fix-sub-pages/tasks.md
Normal file
14
openspec/changes/archive/2026-02-10-fix-sub-pages/tasks.md
Normal file
@@ -0,0 +1,14 @@
|
||||
## 1. Reproduce And Diagnose
|
||||
|
||||
- [x] 1.1 Reproduce the 404 for `/videos`, `/podcast`, and `/about` in the deployed nginx/Docker setup
|
||||
- [x] 1.2 Confirm the build output includes `site/dist/videos/index.html`, `site/dist/podcast/index.html`, and `site/dist/about/index.html`
|
||||
|
||||
## 2. Fix Static Serving
|
||||
|
||||
- [x] 2.1 Update nginx config to serve directory index pages for non-trailing-slash requests (e.g., add `$uri/index.html` to `try_files`)
|
||||
- [x] 2.2 Rebuild the Docker image and restart the container
|
||||
|
||||
## 3. Verify
|
||||
|
||||
- [x] 3.1 Verify `/videos`, `/podcast`, and `/about` return 200 (both with and without trailing slash)
|
||||
- [x] 3.2 Verify the fix does not mask real 404s for unknown paths
|
||||
Reference in New Issue
Block a user