|
|
@ -35,6 +35,16 @@ config :block_scout_web, BlockScoutWeb.Counters.BlocksIndexedCounter, enabled: t |
|
|
|
# Configures the endpoint |
|
|
|
# Configures the endpoint |
|
|
|
config :block_scout_web, BlockScoutWeb.Endpoint, |
|
|
|
config :block_scout_web, BlockScoutWeb.Endpoint, |
|
|
|
instrumenters: [BlockScoutWeb.Prometheus.Instrumenter, SpandexPhoenix.Instrumenter], |
|
|
|
instrumenters: [BlockScoutWeb.Prometheus.Instrumenter, SpandexPhoenix.Instrumenter], |
|
|
|
|
|
|
|
http: [ |
|
|
|
|
|
|
|
protocol_options: [ |
|
|
|
|
|
|
|
idle_timeout: 90_000 |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
], |
|
|
|
|
|
|
|
https: [ |
|
|
|
|
|
|
|
protocol_options: [ |
|
|
|
|
|
|
|
idle_timeout: 90_000 |
|
|
|
|
|
|
|
] |
|
|
|
|
|
|
|
], |
|
|
|
url: [ |
|
|
|
url: [ |
|
|
|
host: "localhost", |
|
|
|
host: "localhost", |
|
|
|
path: System.get_env("NETWORK_PATH") || "/" |
|
|
|
path: System.get_env("NETWORK_PATH") || "/" |
|
|
|