Skip to content

potch8228/glwebhook-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

GitLab WebHook Forward Proxy

What's this?

This program redirects GitLab WebHook to target URL which can not reach normally because of networking structure and/or etc.

Usage

Setup target URL as following format

http[s]://<url@this program>/<target url>/<remainder of url path>

Target url format:
Protocol part of "://" need to be replaced with "-" (single minus sign); for other parts, follow usual URL format

e.g. https://thisproxy.example.com/https-targetciserver.example.com/job/test-ci-job

Command Flags

-port (default: 8080): proxy listen port
-github=true (default: false): proxy for GitHub/GitHub Enterprise; Can not work side-by-side with GitLab CE mode

Compile Environment

go 1.5.3 darwin/amd64

File Structure

glproxy.go -> main program
test-echoserver.go -> test echo server

Author

Tatsuya Kobayashi [email protected]

License

WTFPL http://www.wtfpl.net/about/

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages