Files
docker-deployment/build/runit/proxy
2016-04-20 22:48:31 +01:00

4 lines
158 B
Bash

#!/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;" &