Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func IsAcmeChallenge ¶ added in v1.62.0
func ServeAcmeChallenges ¶ added in v1.59.0
func ServeAcmeChallenges(w http.ResponseWriter, r *http.Request, fallback FallbackStrategy, gitlabURL *url.URL) bool
ServeAcmeChallenges identifies if request is acme-challenge and redirects to GitLab in that case
Types ¶
type FallbackStrategy ¶ added in v1.59.0
type FallbackStrategy func(http.ResponseWriter, *http.Request) bool
FallbackStrategy try to solve the acme challenge before redirecting to GitLab
Click to show internal directories.
Click to hide internal directories.