#!/bin/bash
# Simple socket-to-HTTP bridge
SOCKET="/home/dtspczys/api.scopesafaris.com/gunicorn.sock"

# Listen on port 8001 and forward to the socket
while true; do
  nc -lp 8001 | nc -U "$SOCKET"
done
