-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
5 changed files
with
58 additions
and
5 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
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 |
---|---|---|
@@ -0,0 +1,24 @@ | ||
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- | ||
|
||
[ | ||
{kernel, [ | ||
{logger_level, debug}, | ||
{logger, | ||
[{handler, default, logger_std_h, | ||
#{ formatter => {logger_formatter, #{ }}}}]} | ||
]}, | ||
{nova, [ | ||
{cowboy_configuration, #{ | ||
port => 8080 | ||
}}, | ||
{dev_mode, true}, | ||
{bootstrap_application, {{name}}}, %% Bootstraps the application | ||
%% Plugins is written on form {RequestType, Module, Options, Priority} | ||
%% Priority is that the lowest number is executed first | ||
{plugins, [ | ||
{pre_http_request, nova_security_plugin, #{}, 0}, | ||
{pre_ws_upgrade, nova_security_plugin, #{}, 0} | ||
]} | ||
]} | ||
%% Please change your app.src-file instead if you intend to add app-specific configurations | ||
]. |
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 |
---|---|---|
@@ -0,0 +1,26 @@ | ||
%% -*- mode: erlang;erlang-indent-level: 4;indent-tabs-mode: nil -*- | ||
|
||
[ | ||
{kernel, [ | ||
{logger_level, info}, | ||
{logger, | ||
[{handler, default, logger_std_h, | ||
#{level => error, | ||
config => #{file => "log/erlang.log"}}}, | ||
]} | ||
]}, | ||
{nova, [ | ||
{cowboy_configuration, #{ | ||
port => 8080 | ||
}}, | ||
{dev_mode, false}, | ||
{bootstrap_application, {{name}}}, %% Bootstraps the application | ||
%% Plugins is written on form {RequestType, Module, Options, Priority} | ||
%% Priority is that the lowest number is executed first | ||
{plugins, [ | ||
{pre_http_request, nova_security_plugin, #{}, 0}, | ||
{pre_ws_upgrade, nova_security_plugin, #{}, 0} | ||
]} | ||
]} | ||
%% Please change your app.src-file instead if you intend to add app-specific configurations | ||
]. |
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