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

eb-echo_3.1.2.8.source-code.reference.conf Maven / Gradle / Ivy


web-echo {
  meta-info {
    // populated externally during the build
  }

  // ----------------------------------------------------------------
  // Application config

  application {
    name = "Web Echo"
    code = "web-echo"
  }

  http {
    listening-interface = "0.0.0.0"
    listening-interface = ${?WEB_ECHO_LISTEN_IP}
    listening-port = 8080
    listening-port = ${?WEB_ECHO_LISTEN_PORT}
  }

  site {
    # just a prefix word, no slashes
    prefix = ""
    prefix = ${?WEB_ECHO_PREFIX}
    # How the site is known remotely without any prefix and trailing /
    url = "http://127.0.0.1:8080"
    url = ${?WEB_ECHO_URL}
  }

  behavior {
    inactive-auto-delete = true
    inactive-auto-delete = ${?WEB_ECHO_INACTIVE_AUTO_DELETE}
    inactive-auto-delete-after = 30d
    inactive-auto-delete-after = ${?WEB_ECHO_INACTIVE_AUTO_DELETE_AFTER}
    entries-max-queue-size = 1000
    entries-max-queue-size = ${?WEB_ECHO_ENTRIES_MAX_QUEUE_SIZE}
    file-system-cache {
      path = "/tmp/web-echo-cache-data"
      path = ${?WEB_ECHO_STORE_PATH}
    }
  }

  // ----------------------------------------------------------------
  // pekko & pekko-http framework configuration
  // This configuration is used when this project is used as an app and not as a lib

  pekko {
    daemonic = off
    http {
      server {
        idle-timeout = 10s
        max-connections = 500
        remote-address-header = on
        remote-address-attribute = on
        user-agent-header = on
      }
      client {
        connecting-timeout = 10s
        idle-timeout = 10s
        parsing {
          max-header-count = 420
        }
      }
      routing {
        # Enables/disables ETag and `If-Modified-Since` support for FileAndResourceDirectives
        file-get-conditional = off
      }
      host-connection-pool {
        max-connections = 100
      }
    }
    loggers = ["org.apache.pekko.event.slf4j.Slf4jLogger"]
    loglevel = "INFO"
    logging-filter = "org.apache.pekko.event.slf4j.Slf4jLoggingFilter"
  }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy