File tree 5 files changed +12
-6
lines changed
5 files changed +12
-6
lines changed Original file line number Diff line number Diff line change @@ -22,4 +22,4 @@ exec gunicorn --pythonpath "%(DEPLOY_DIR)s" \
22
22
--group " %(GROUP)s" \
23
23
--log-level " info" \
24
24
--log-file " $LOG_FILE " \
25
- steepshot_io.wsgi:application
25
+ steepshot_io.config. wsgi:application
Original file line number Diff line number Diff line change @@ -10,8 +10,8 @@ server {
10
10
{% -if ENV == "VAGRANT" %}
11
11
{# Do not use certificates on vagrant installation #}
12
12
{% - else %}
13
- ssl_certificate /etc/ssl/certs/www. steepshot.io.certchain.crt ;
14
- ssl_certificate_key /etc/ssl/private /steepshot.io.key ;
13
+ ssl_certificate /etc/letsencrypt/live/ steepshot.io/fullchain.pem ;
14
+ ssl_certificate_key /etc/letsencrypt/live /steepshot.io/privkey.pem ;
15
15
{% - endif %}
16
16
17
17
access_log {{ DEPLOY_DIR }}/logs/nginx-access.log;
Original file line number Diff line number Diff line change @@ -4,6 +4,7 @@ dj-database-url==0.3.0
4
4
Django == 1.11.1
5
5
django-redis == 4.6.0
6
6
Fabric3 == 1.12.post1
7
+ gunicorn == 19.3.0
7
8
Jinja2 == 2.9.6
8
9
kombu == 3.0.37
9
10
packaging == 16.8
@@ -13,3 +14,8 @@ pyparsing==2.2.0
13
14
pytz == 2017.2
14
15
redis == 2.10.5
15
16
six == 1.10.0
17
+
18
+ # We use aiohttp gunicorn workers
19
+ asyncio == 3.4.3
20
+ aiohttp == 1.3.5
21
+ aiohttp-wsgi == 0.6.6
Original file line number Diff line number Diff line change 66
66
'django.contrib.messages' ,
67
67
'django.contrib.staticfiles' ,
68
68
69
- 'core' ,
69
+ 'steepshot_io. core' ,
70
70
]
71
71
72
72
MIDDLEWARE = [
Original file line number Diff line number Diff line change 73
73
GUNI_TIMEOUT = 60
74
74
GUNI_GRACEFUL_TIMEOUT = 180
75
75
76
- SETTINGS_MODULE = 'config.prod_settings'
77
- GOLOS_SETTINGS_MODULE = 'config.golos_prod_settings'
76
+ SETTINGS_MODULE = 'steepshot_io. config.prod_settings'
77
+ GOLOS_SETTINGS_MODULE = 'steepshot_io. config.golos_prod_settings'
78
78
79
79
80
80
ENVIRONMENTS = {
You can’t perform that action at this time.
0 commit comments