Merge pull request #234 from thermeon/feature/quick_typo

Fix typo Unkown -> unknown in error
This commit is contained in:
Vincent Demeester 2016-03-04 09:01:49 +01:00
commit 0e683cc535

View file

@ -443,7 +443,7 @@ func (server *Server) loadEntryPointConfig(entryPointName string, entryPoint *En
if len(entryPoint.Redirect.EntryPoint) > 0 {
regex = "^(?:https?:\\/\\/)?([\\da-z\\.-]+)(?::\\d+)(.*)$"
if server.globalConfiguration.EntryPoints[entryPoint.Redirect.EntryPoint] == nil {
return nil, errors.New("Unkown entrypoint " + entryPoint.Redirect.EntryPoint)
return nil, errors.New("Unknown entrypoint " + entryPoint.Redirect.EntryPoint)
}
protocol := "http"
if server.globalConfiguration.EntryPoints[entryPoint.Redirect.EntryPoint].TLS != nil {