# Orbance Templates

Statische Mail-HTML-Vorlagen (`mails/`) mit Preview-Server auf Port **3009**.

Port-Matrix: [`docs/PORTS.md`](../../docs/PORTS.md)

## Start

```bash
cd packages/templates
npm install
npm start
```

Öffnen: http://localhost:3009/mails/

## Nginx (optional)

```nginx
upstream templates_backend {
    server 127.0.0.1:3009;
    keepalive 8;
}

server {
    listen 443 ssl http2;
    server_name templates.orbance.com;
    location / {
        proxy_pass http://templates_backend;
        proxy_set_header Host $host;
        proxy_set_header X-Real-IP $remote_addr;
        proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
        proxy_set_header X-Forwarded-Proto $scheme;
    }
}
```
