- Build and install
go get github.com/Rompei/go-cgi-reverse-proxy
- Create config file
- Execute command
go-cgi-reverse-proxy -c /path/to/config/file -r /path/to/proxy/root/directory
- Directories and executables are generated.
root/
├── backend
│ ├── caption
│ │ ├── aaa
│ │ │ └── index.cgi
│ │ ├── bbb
│ │ │ └── index.cgi
│ │ └── index.cgi
│ ├── deepdream
│ │ └── index.cgi
│ ├── index.cgi
│ └── styletransfer
│ └── index.cgi
├── frontend
│ ├── caption
│ │ └── index.cgi
│ ├── deepdream
│ │ └── index.cgi
│ ├── index.cgi
│ └── styletransfer
│ └── index.cgi
└── index.cgi