Files
docker-deployment/build/runit/proxy

3 lines
151 B
Bash

#!/bin/bash
socat TCP-LISTEN:8888,fork TCP:host:8888 &
socat TCP-LISTEN:80,fork,crlf SYSTEM:"echo HTTP/1.0 200; echo Content-Type: text/plain; echo;" &