infra/@dev-prod-rf.server/archive/2025-11-old/domains/domains.md

Active Domains on DEV-PROD-RF

Total SSL Certificates: 14 (Let's Encrypt through NPM)


Production Domains 🔴

1. seller1.ru

2. www.seller1.ru

3. pro.seller1.ru


Infrastructure Domains

4. home.0kt.ru

5. git.0kt.ru

6. n8n.0kt.ru

7. jupyter.0kt.ru

8. mailhog.0kt.ru

9. pgadmin.0kt.ru

10. uptime.0kt.ru


Development Domains

11. myshop.0kt.ru

12. commerce.0kt.ru

13. varbase.0kt.ru

14. python-dev.0kt.ru

15. python-tst.0kt.ru


Not Yet Configured (from original planning)

These domains were planned but don't have SSL certificates yet:

Infrastructure

Development

Production

Note: These services are running but accessed via:
- Internal ports (localhost)
- Direct IP
- Existing SSL domains


OAuth Configuration

Authelia (for *.0kt.ru)

Drupal Simple OAuth (for seller1.ru)


SSL Management

Provider: Let's Encrypt
Manager: Nginx Proxy Manager (NPM)
Admin Panel: http://localhost:81 (from server)
Email: admin@0kt.ru
Auto-renewal: Yes (through NPM)

Rate Limits: Be aware of Let's Encrypt limits:
- 50 certificates per registered domain per week
- 5 duplicate certificates per week

Certificate Location:

/mnt/data/nginx/letsencrypt/live/<domain>/
├── cert.pem
├── chain.pem
├── fullchain.pem
└── privkey.pem

Adding New Domain

  1. Configure DNS A record → 45.144.177.147
  2. Wait for DNS propagation (10-60 minutes)
  3. Add Proxy Host in NPM:
    - Domain: newdomain.tld
    - Forward Host: container-name
    - Forward Port: service-port
    - Enable: Websockets Support, Block Common Exploits
  4. Request SSL Certificate in NPM:
    - Force SSL: Yes
    - HTTP/2 Support: Yes
  5. (Optional) Configure Authelia protection
  6. Test: https://newdomain.tld

Troubleshooting

SSL Certificate Failed

502 Bad Gateway

Domain Not Resolving


Last Updated: 2025-10-26
Total Active SSL Domains: 14