Commit Graph

5 Commits

Author SHA1 Message Date
Gui-Gos
5c72b3f3f9 fix(nginx): use correct data/ prefix for volume paths
Some checks failed
Test / test (push) Has been cancelled
Runtipi copies app data/ contents to APP_DATA_DIR/data/, not APP_DATA_DIR/.
Without the data/ prefix, Docker creates empty directories instead of
using the actual config files, causing nginx to crash on startup.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 14:27:01 +01:00
Gui-Gos
29ea05eb4d fix(nginx): add required schemaVersion: 2 for env key/value format
Some checks failed
Test / test (push) Has been cancelled
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 14:08:51 +01:00
Gui-Gos
1306d16d42 fix(nginx): internalPort as string + add missing source field
Some checks failed
Test / test (push) Has been cancelled
- internalPort: 80 (number) -> "80" (string) to match Runtipi schema
- Added missing source field required for app discovery

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:12:26 +01:00
Gui-Gos
9e80ff91c3 fix(nginx): align id and service name with folder name
Some checks failed
Test / test (push) Has been cancelled
- id: nginx-custom -> nginx (must match folder name for Runtipi discovery)
- tipiVersion: 1 -> tipi_version: 2 (correct key name and version)
- Removed min_tipi_version and $schema fields
- Service name: nginx-custom -> nginx

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:08:50 +01:00
Gui-Gos
430f6e2baa feat(nginx): add hardened nginx app with security improvements
Some checks failed
Test / test (push) Has been cancelled
- Rate limiting (10 req/s per IP, burst 20)
- Modern security headers (X-Frame-Options, X-Content-Type-Options, Referrer-Policy, Permissions-Policy)
- Request body size limits (50m)
- Fixed header inheritance bug in static files location block
- Removed unused form fields (NGINX_INTERNAL_PORT, NGINX_ENABLE_ACCESS_LOG)
- SSL handled by Runtipi reverse proxy

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-12 11:00:24 +01:00