Commit Graph

4 Commits

Author SHA1 Message Date
denshooter
f66844870a Fix nginx startup script syntax errors
Some checks failed
CI/CD Pipeline (Fast) / production (push) Successful in 6m41s
CI/CD Pipeline (Reliable & Simple) / production (push) Failing after 8m42s
CI/CD Pipeline (Simple & Reliable) / production (push) Failing after 6m15s
- Simplify nginx startup command to avoid YAML syntax issues
- Remove complex fallback configuration that was causing shell errors
- nginx now starts successfully and serves the application correctly

Tested locally: nginx responds to /health and / endpoints properly.
2025-09-16 00:03:01 +02:00
denshooter
efda383bd8 Fix nginx configuration syntax errors
Some checks failed
CI/CD Pipeline (Fast) / production (push) Successful in 6m44s
CI/CD Pipeline (Simple & Reliable) / production (push) Has been cancelled
CI/CD Pipeline (Reliable & Simple) / production (push) Has been cancelled
- Move proxy_set_header directives inside location blocks
- Add DNS resolver for dynamic upstream resolution
- Improve fallback configuration in docker-compose
- Add config validation before starting nginx

This should resolve the nginx startup failures.
2025-09-15 23:51:59 +02:00
denshooter
9c6b313435 Fix nginx configuration conflict in docker-compose
Some checks failed
CI/CD Pipeline (Reliable & Simple) / production (push) Has been cancelled
CI/CD Pipeline (Simple & Reliable) / production (push) Has been cancelled
CI/CD Pipeline (Fast) / production (push) Has been cancelled
- Remove default nginx configuration files to prevent conflicts
- Add command to clear /etc/nginx/conf.d/* before starting nginx
- This fixes the 'events directive not allowed here' error
2025-09-15 23:48:46 +02:00
denshooter
fc3f9ebf12 🔧 Enhance Gitea deployment workflows and fix nginx configuration
Some checks failed
CI/CD Pipeline (Fast) / production (push) Failing after 6m12s
CI/CD Pipeline (Reliable & Simple) / production (push) Failing after 8m16s
CI/CD Pipeline (Simple & Reliable) / production (push) Failing after 6m19s
- Added new CI/CD workflow `ci-cd-reliable.yml` for reliable deployments with database support.
- Created `docker-compose.zero-downtime-fixed.yml` to address nginx configuration issues for zero-downtime deployments.
- Improved existing workflows to check for nginx configuration file and create a fallback if missing.
- Updated `DEPLOYMENT-FIXES.md` to document new workflows and fixes.

 These changes improve deployment reliability and ensure proper nginx configuration for seamless updates.
2025-09-14 19:11:37 +02:00