Public | Automated Build

Last pushed: 10 months ago
Short Description
bash_socat_server
Full Description

Socat Bash Http Server

This repository contains a very simple bash socat http server.
Socat is used to forward incoming data from a tcp port(8080) to the bash script.
The bash script extract headers and body and writes the information into environment variables.
Based on the request path, files are executed and the response is sent back to the client.

options

  • -v : turn on verbose logging to stderr
  • -p <port number> : port (default: 8080)
  • -r <path> : path for route handlers
  • -d <path> : path to default route handler script
Docker Pull Command
Owner
nasoym
Source Repository