Files
docker-deployment/build/runit/proxy

4 lines
158 B
Bash
Executable File

#!/bin/bash
set -e
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;" &