Commit Graph

5 Commits

Author SHA1 Message Date
hikari db36f98578 refactor: restructure nginx config into per-app files (#1)
Test nginx configuration / Static Analysis (push) Successful in 5s
Test nginx configuration / nginx Syntax Check (push) Successful in 18s
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 2m39s
## Summary

- Added `push.sh` script to deploy configs to prod via `sudo rsync` (with `--delete` for exact mirroring)
- Split the monolithic `conf.d/server.conf` (1,682 lines, 96 server blocks) into 28 per-app files under `sites-available/`, with corresponding symlinks in `sites-enabled/`
- Extracted custom `nginx.conf` settings (`log_format` directives, `server_names_hash_bucket_size`) into dedicated `conf.d/logging.conf` and `conf.d/tuning.conf` files, leaving `nginx.conf` as close to stock as possible

## Test plan

- [x] `sudo nginx -t` passes on prod after the sites-available restructure

 This PR was created with help from Hikari~ 🌸

Co-authored-by: Naomi Carrigan <commits@nhcarrigan.com>
Reviewed-on: #1
Co-authored-by: Hikari <hikari@nhcarrigan.com>
Co-committed-by: Hikari <hikari@nhcarrigan.com>
2026-03-07 02:05:29 -08:00
naomi e4455ab5ad feat: automated upload of .gitea/workflows/security.yml
Security Scan and Upload / Security & DefectDojo Upload (push) Successful in 58s
2025-12-17 23:26:02 +01:00
naomi 1e40524bee feat: automated upload of .gitea/workflows/security.yml
Security Scan / Security Audit (push) Failing after 6m58s
2025-12-12 03:37:48 +01:00
naomi 4b68a2d320 feat: automated upload of .gitea/workflows/security.yml
Security Scan / Trivy Security Scan (push) Failing after 4m47s
2025-12-11 20:11:59 +01:00
nhcarrigan 5e5cce5470 Initial commit 2025-01-28 17:31:06 -08:00