ktor-server-core / io.ktor.features / HttpsRedirect / Configuration / excludePrefix

excludePrefix

fun excludePrefix(pathPrefix: String): Unit

Exclude calls with paths matching the pathPrefix from being redirected to https by this feature.