Commit Graph

16 Commits

Author SHA1 Message Date
Tim Bendt
1be98c62bc Fix nginx root location handling for index.html
- Updated try_files directive to serve index.html for root requests
- Changed from 'try_files  / =404;' to 'try_files  / /index.html =404;'
- This fixes 403 error when requesting bare domain URL
- Ensures proper fallback to index.html for root directory requests
2025-11-29 20:51:54 -05:00
Tim Bendt
73e80f6533 Fix nginx template to use correct path for third_party assets
- Changed alias from ${NIXPACKS_PHP_ROOT_DIR}/pancake/third_party to /app/pancake/third_party
- This fixes 404 errors for JS/CSS files with query strings
- NIXPACKS_PHP_ROOT_DIR variable not being set properly in containers
- Static assets now serve correctly from all containers
2025-11-29 18:05:58 -05:00
Tim Bendt
88cf1003a8 Add comprehensive homelab infrastructure documentation
- Document Docker data migration from /var/lib/docker to /mnt/nvme/docker
- Record nginx configuration fixes for Pancake pretty URLs and static assets
- Document DNS resolution fix using dnsmasq for container builds
- Add troubleshooting procedures for Docker, DNS, networking, and deployments
- Include monitoring commands and emergency recovery procedures
- Document service configurations for Gitea, Dokploy, Traefik, Swarmpit, Bendtstudio
- Add configuration file examples and future improvement suggestions

This provides complete reference for homelab maintenance and troubleshooting.
2025-11-29 17:25:25 -05:00
Tim Bendt
040f0d2d15 Fix nginx config for Pancake pretty URLs and static assets
- Update pancake/third_party alias path to use correct NIXPACKS_PHP_ROOT_DIR
- Add proper pretty URL handling with @pancake_fallback location
- Fix SCRIPT_FILENAME to use $document_root instead of $realpath_root
- Enables Apache .htaccess equivalent functionality in nginx

This resolves issues where:
- Static assets in pancake/third_party were returning 404
- Pretty URLs without index.php were not working correctly
- Pancake application routing was broken
2025-11-29 16:13:50 -05:00
Tim Bendt
9027fe6b1d try supervisord 2025-11-29 15:21:22 -05:00
Tim Bendt
19c08ffaa1 template file 2025-11-29 14:50:12 -05:00
Tim Bendt
382a006f86 standard paths 2025-11-29 14:38:06 -05:00
Tim Bendt
74b09e53c1 fix var 2025-11-29 10:53:29 -05:00
Tim Bendt
f1b15699d0 update nginx 2025-11-28 23:07:40 -05:00
Tim Bendt
d9ea9532eb nixpack 2025-11-28 22:49:15 -05:00
Tim Bendt
23c7db3172 split steps 2025-11-26 14:31:50 -05:00
Tim Bendt
d95f391034 update libcurl 2025-11-26 14:21:47 -05:00
Tim Bendt
44abe90222 update php in docker 2025-11-26 13:47:17 -05:00
Tim Bendt
d876232b5f Add Dockerfile and supervisord for PHP deployment 2025-11-26 13:26:30 -05:00
Tim Bendt
c520b7df89 new appraoch 2025-11-26 13:22:58 -05:00
Tim Bendt
de3d100844 first commit 2025-11-25 14:56:36 -05:00