Skip to content

Building 70 Projects ranging from beginner to advanced so anyone can — learn from, build upon, use as a reference, or even copy directly. Owned by my cybersecurity company 👇

656 B
Raw Blame
# Ᾰenebris Configuration Example
# This is a minimal working configuration for testing

version: 1

# Listen ports
listen:
  - port: 8081
    # TLS configuration (optional)
    # tls:
    #   cert: /path/to/cert.pem
    #   key: /path/to/key.pem

# Backend servers (upstreams)
upstreams:
  - name: test-backend
    servers:
      - host: "127.0.0.1:8000"
        weight: 1
    # Health check configuration (optional)
    # health_check:
    #   path: /health
    #   interval: 10s

# Routing rules
routes:
  - host: "localhost"
    paths:
      - path: /
        upstream: test-backend
        # Rate limiting (optional)
        # rate_limit: 100/minute