py_2.13.1.0.6.source-code.reference.conf Maven / Gradle / Ivy
The newest version!
spy {
meta-info {
// populated externally during the build
}
// ----------------------------------------------------------------
// Application config
application {
name = "SPY"
code = "spy"
}
http {
listening-interface = "0.0.0.0"
listening-interface = ${?SPY_LISTEN_IP}
listening-port = 8080
listening-port = ${?SPY_LISTEN_PORT}
}
site {
# just a prefix word, no slashes
prefix = ""
prefix = ${?SPY_PREFIX}
# How the site is known remotely without any prefix and trailing /
url = "http://127.0.0.1:8080"
url = ${?SPY_URL}
}
content {
title = "SPY"
}
behavior {
file-system-storage {
path = "/tmp/spy-data"
path = ${?SPY_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"
}
}