-
Notifications
You must be signed in to change notification settings - Fork 133
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
allegroai
committed
Jun 11, 2019
1 parent
06b64cd
commit 3269199
Showing
5 changed files
with
151 additions
and
103 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
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,49 +1,47 @@ | ||
{ | ||
# requested token expiration in seconds (one month) | ||
apiserver_token_expiration: 2592000 | ||
# requested token expiration in seconds (one month) | ||
apiserver_token_expiration: 2592000 | ||
|
||
debug: false | ||
debug: false | ||
|
||
flask { | ||
# Uncomment next line to disable login requirement while testing (or unit-testing) | ||
TESTING: False | ||
flask { | ||
# Uncomment next line to disable login requirement while testing (or unit-testing) | ||
TESTING: False | ||
|
||
# Uncomment to allow reloading of templates if the caches version differs from the latest version | ||
TEMPLATES_AUTO_RELOAD: True | ||
# Uncomment to allow reloading of templates if the caches version differs from the latest version | ||
TEMPLATES_AUTO_RELOAD: True | ||
|
||
# Flask-Login session protection ('basic', 'strong' or null) | ||
SESSION_PROTECTION: basic | ||
# Flask-Login session protection ('basic', 'strong' or null) | ||
SESSION_PROTECTION: basic | ||
|
||
SESSION_COOKIE_HTTPONLY: True | ||
REMEMBER_COOKIE_HTTPONLY: True | ||
SESSION_COOKIE_SECURE: False | ||
REMEMBER_COOKIE_SECURE: False | ||
} | ||
SESSION_COOKIE_HTTPONLY: True | ||
REMEMBER_COOKIE_HTTPONLY: True | ||
SESSION_COOKIE_SECURE: False | ||
REMEMBER_COOKIE_SECURE: False | ||
} | ||
|
||
listen { | ||
ip : "0.0.0.0" | ||
port: 8080 | ||
} | ||
|
||
listen { | ||
ip : "0.0.0.0" | ||
port: 8080 | ||
auth { | ||
cookies { | ||
httponly: true # allow only http to access the cookies (no JS etc) | ||
secure: false # not using HTTPS | ||
domain: null # Limit to localhost is not supported | ||
} | ||
|
||
auth { | ||
cookies { | ||
httponly: true # allow only http to access the cookies (no JS etc) | ||
secure: false # not using HTTPS | ||
domain: null # Limit to localhost is not supported | ||
} | ||
session_auth_cookie_name: "trains_token_basic" | ||
|
||
session_auth_cookie_name: "trains_token_basic" | ||
user_token_expiration_sec: 3600 | ||
} | ||
|
||
user_token_expiration_sec: 3600 | ||
} | ||
|
||
docs { | ||
# Default filename used when file not found error is reported when serving docs. | ||
# This usually happans when the path is to a folder and not a file. | ||
default_filename: "index.html" | ||
} | ||
docs { | ||
# Default filename used when file not found error is reported when serving docs. | ||
# This usually happans when the path is to a folder and not a file. | ||
default_filename: "index.html" | ||
} | ||
|
||
default_company: "d1bd92a3b039400cbafc60a7a5b1e52b" | ||
default_company: "d1bd92a3b039400cbafc60a7a5b1e52b" | ||
|
||
redirect_to_https: false | ||
} | ||
redirect_to_https: false |
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