Ship TLS nginx for backoffice, keep HTTP bootstrap until certs exist, proxy /monitoring to sentry-relay, and tunnel server/edge Sentry through Finland.
871 B
871 B
Admin deployment
- Point the DNS record for
backoffice.ghabilee.irto the production VPS. - Create
/opt/ghabilee-admin/.envfrom.env.exampleand set production values. - Issue TLS:
certbot certonly --webroot -w /var/www/html -d backoffice.ghabilee.ir(after ACME path is reachable on port 80). - Deploy installs
deploy/nginx/backoffice.confwhen the cert exists (otherwise HTTP bootstrap); app listens on127.0.0.1:3009. - Push to
main(or run the deploy workflow manually) after the environment is ready.
Deploy Telegram alerts use admin-specific copy in scripts/notify-deploy.sh
(success → backoffice URL; distinct from the consumer frontend message).
GitHub secrets checkpoint
Deployment requires VPS_HOST, VPS_USER, and VPS_SSH_KEY. The repository owner will add these GitHub Actions secrets later, before the first deployment.