-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Configure HTTP server options via parameters
Let the application configure the HTTP server options (for example the bodySizeLimit) via the parameters section in esb.yml.
- Loading branch information
1 parent
522bde2
commit eb70d21
Showing
5 changed files
with
116 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,8 @@ | ||
parameters: | ||
beanstalkd: tcp://127.0.0.1:11300 # Beanstalkd connection URI | ||
http_server_port: 34981 # HTTP Server Port | ||
http_server_options: # The HTTP server options, see \Amp\Http\Server\Options for | ||
bodySizeLimit: 131072 # all available options and default values | ||
logger_mail_to: [email protected] # Email address where to send significant events mail notifications | ||
logger_mail_from: "From Name <[email protected]>" # From name/address for significant events mail notifications | ||
console_port: 8080 # Web console port | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,7 @@ | ||
parameters: | ||
beanstalkd: '%env(string:ESB_BEANSTALKD_URL)%' | ||
http_server_port: '%env(int:ESB_HTTP_SERVER_PORT)%' | ||
http_server_options: ~ | ||
logger_mail_to: "[email protected]" | ||
logger_mail_from: "From Name <[email protected]>" | ||
console_port: '%env(int:ESB_CONSOLE_PORT)%' | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters