All Downloads are FREE. Search and download functionalities are using the official Maven repository.

kka-http-tools.1.1.27.source-code.application.conf Maven / Gradle / Ivy

There is a newer version: 1.2.26
Show newest version
akka-http-cors {
  allow-generic-http-requests = yes
  allow-credentials = yes
  allowed-origins = "*"
  allowed-headers = "*"
  allowed-methods = ["GET", "POST", "HEAD", "OPTIONS", "PATCH", "PUT", "DELETE"]
  exposed-headers = "*"
  max-age = 1800 seconds
}

prometheus.exporter.enabled = false

sbuslab {
  rate-limit {
    enabled = true

    excludes {
      ip = ["127.0.0.1", "0:0:0:0:0:0:0:1"]
    }

    default-counter {
      max = 1000
      per = 1 minute
      lock-timeout = 6 hours
      clear-on-success = false
    }

    counters {
      auth {
        failure.ip { max = 15, per = 1 hour, lock-timeout = 12 hours }
        failure.login { max = 3, per = 1 hour, clear-on-success = true }
      }
    }
  }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy