Skip to content

Commit d8720ac

Browse files
committed
add new defaults
1 parent 1a97fcb commit d8720ac

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

defaults/main.yml

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
# should be a shorthand, lowercase and not contain any whitespaces.
33
flaskapp_app_name: flaskapp
44

5+
# Port for the application
6+
flaskapp_port: 8000
7+
58
# The user used to run the Flask application
69
flaskapp_app_user: www-data
710

@@ -71,3 +74,9 @@ flaskapp_use_custom_nginx_conf: false
7174

7275
# Set to true if you want to use a custom startup script used by supervisor (you need to provisioning it by yourself)
7376
flaskapp_use_custom_start_script: false
77+
78+
# Nginx server name
79+
flaskapp_nginx_server_name: {{ flaskapp_name }}.domain.com
80+
81+
# Directory with static files served directly by Nginx
82+
flaskapp_nginx_static_dir: {{ flaskapp_app_directory }}/static/

0 commit comments

Comments
 (0)