fix: add nginx SPA fallback for BrowserRouter routing
Root cause: Docker container was 4 days old and nginx had no try_files fallback for SPA routes like /details. Changes: - Add nginx.conf with try_files $uri $uri/ /index.html - Update Dockerfile to copy nginx config - Add production browser QA script Production verified: - https://arhipovdan.ru/ shows full-screen 3D demo - https://arhipovdan.ru/details shows detailed page
This commit is contained in:
BIN
docs/production_sync_screenshots/prod_details_after_deploy.png
Normal file
BIN
docs/production_sync_screenshots/prod_details_after_deploy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.1 MiB |
BIN
docs/production_sync_screenshots/prod_home_after_deploy.png
Normal file
BIN
docs/production_sync_screenshots/prod_home_after_deploy.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 269 KiB |
Reference in New Issue
Block a user