Server & Maintenance

Nginx

Nginx terminates HTTPS and proxies public requests to the FameGPT Node.js service. The licensing gateway is routed separately.

SSL

Use a trusted certificate and keep renewal enabled. Run nginx -t before reloading.

MongoDB

Keep MongoDB private and back it up regularly.

Backups

Back up MongoDB and deployment secrets and periodically test restoration.

Updates

Back up first, record the current version, test the new build, restart the service and verify authentication, earning, financial and licensing flows.

Troubleshooting

systemctl status famegpt
journalctl -u famegpt -n 100 --no-pager
nginx -t
systemctl reload nginx
curl -s http://127.0.0.1:3000/api/health