- .gitea/workflows/ci.yml: flake8 + dash check, pytest (90% coverage floor), MariaDB integration tests, bandit, pip-audit, gitleaks, actionlint, shellcheck, zizmor, semgrep; main deploys through a signed webhook and waits for /health to report the commit. - deploy/thor_deploy.sh: deploys an exact sha, installs units and nginx site when changed, rolls back unless /health reports the sha with a working database. Sandbox-tested. - deploy/bootstrap.sh: idempotent first install on CT 173. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
18 lines
530 B
Plaintext
18 lines
530 B
Plaintext
# Thor on CT 173. NPM (thor.lotusguild.org) forwards here behind Authelia; Kuma and
|
|
# Prometheus reach /health and /metrics directly on 10.10.10.86.
|
|
server {
|
|
listen 80 default_server;
|
|
listen [::]:80 default_server;
|
|
server_name _;
|
|
|
|
client_max_body_size 1m;
|
|
|
|
location / {
|
|
proxy_pass http://127.0.0.1:8000;
|
|
proxy_set_header Host $host;
|
|
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
|
|
proxy_set_header X-Forwarded-Proto $scheme;
|
|
proxy_read_timeout 60s;
|
|
}
|
|
}
|