This Go program is a simple CGI server to host legacy CGI scripts. This server is intended to be running behind a reverse proxy or loadbalancer, like traefik.
The following awesome Go libraries are dependencies:
You basically have two options to install this Go program package:
go get -u github.com/mback2k/simple-cgi-server
Finally put the simple-cgi-server binary onto your PATH and make sure it is executable.
The following YAML file is an example configuration to serve Python scripts:
Address: "localhost:8080"
HandlerList:
- FileExt: .py
Handler: python
Logging:
Level: info
Save this file in one of the following locations and run ./simple-cgi-server:
Copyright (C) 2019 Marc Hoersken [email protected]
This software is licensed as described in the file LICENSE, which you should have received as part of this software distribution.
All trademarks are the property of their respective owners.