Commit Graph
22 Commits
Author SHA1 Message Date
Bastian de Byl a3c3c8de05 update gregtime, immich, fulfillr 2025-11-17 15:09:29 -05:00
Bastian de Byl 28fe5937fe updates for gregtime, caddyfile, added uptime-kuma 2025-11-02 14:18:45 -05:00
Bastian de Byl 37c7259cf7 replace partkeepr with partsy, make private 2025-10-21 16:40:56 -04:00
Bastian de BylandClaude 812b5b30a1 Add CORS support to fulfillr API for local development
- Configure Caddy to send CORS headers for /api/* endpoints
- Allow all origins (*) since API is already IP-restricted to local network
- Handle preflight OPTIONS requests properly
- Update container versions (immich, fulfillr)

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-16 15:23:29 -04:00
Bastian de BylandClaude 9c9da4f47c Complete infrastructure migration from nginx + ModSecurity to Caddy
This commit finalizes the comprehensive migration from nginx + ModSecurity + manual LetsEncrypt
to Caddy v2 with automatic HTTPS. The migration eliminates over 2000 lines of complex
configuration in favor of a single, simplified Caddyfile.

## Major Changes:

### Infrastructure Transformation
- **Web Server**: Replaced nginx with Caddy v2 for automatic HTTPS and simplified configuration
- **SSL/TLS**: Removed manual LetsEncrypt management, now fully automated by Caddy
- **Security**: Replaced ModSecurity WAF with Caddy's built-in security features
- **CI/CD**: Decommissioned Drone CI infrastructure completely

### Configuration Simplification
- **Before**: 20+ nginx site configs, ModSecurity rules, LetsEncrypt cron jobs
- **After**: Single Caddyfile with automatic HTTPS, security headers, and IP restrictions
- **Reduction**: 75% less configuration code while maintaining all functionality

### Files Added
- Caddy container deployment and configuration tasks
- Single Caddyfile template replacing all nginx configs
- Updated documentation (CLAUDE.md, TODO.md)

### Files Removed
- Complete nginx role and all site configurations (24 files)
- SSL role with LetsEncrypt management (6 files)
- Drone CI infrastructure (1 file)
- nginx static files and ModSecurity includes (2 files)

## Verified Functionality
All websites confirmed working with HTTPS certificates automatically provisioned:
- photos.bdebyl.net, parts.bdebyl.net, cloud.bdebyl.net
- wiki.skudakrennsport.com, cloud.skudakrennsport.com
- fulfillr.debyltech.com (with IP restrictions)
- Proper security headers and WebSocket support

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
2025-09-11 20:38:45 -04:00
Bastian de Byl ff8c73cf98 noticket - updated ansible, letsencrypt crontab 2025-08-01 15:12:46 -04:00
Bastian de Byl b07404a8fa noticket - updated immich, vault 2025-08-01 12:42:17 -04:00
Bastian de Byl c3acb9afa3 noticket - update fulfillr 2025-07-25 21:53:04 -04:00
Bastian de Byl 0d01bab424 noticket - bumped fulfillr 2025-07-25 13:49:16 -04:00
Bastian de Byl 892cc05a01 noticket - bumped skudak-wiki version for bookstack 2025-07-23 12:28:12 -04:00
Bastian de Byl 87f1e5a98c updated immich to 1.135.2 2025-06-20 13:50:51 -04:00
Bastian de Byl 75f002e236 noticket - updated fulfillr to fix return shipments 2025-06-11 20:51:22 -04:00
Bastian de Byl 3f1d91fecf noticket - updated fulfillr 2025-06-11 20:32:23 -04:00
Bastian de Byl 37caec7bad noticket - bump immich to v1.133.1 2025-05-23 18:14:23 -04:00
Bastian de Byl a1ea1b7f63 noticket - immich bumped to v1.132.3 2025-04-30 00:08:31 -04:00
Bastian de Byl dca413923c noticket - upgrade immich to 1.130.2 2025-03-26 12:22:27 -04:00
Bastian de Byl ec4fd40f84 noticket - upgrade immich 2025-03-25 19:13:28 -04:00
Bastian de Byl a6df909de8 noticket - removed logs references 2025-03-06 12:42:14 -05:00
Bastian de Byl 6b813362ca noticket - cleanup of unused sites, containers 2025-03-01 20:47:53 -05:00
Bastian de Byl 2fdd7792fc noticket - updated immich 2025-02-10 14:25:47 -05:00
Bastian de Byl 761bb67b5c noticket - add self-hosted bitwarden for skudak 2025-02-07 19:39:32 -05:00
Bastian de Byl fced2a0038 noticket - add base site, update secrets 2025-02-03 12:34:41 -05:00