Skip to content
This repository has been archived by the owner on Oct 1, 2020. It is now read-only.

Commit

Permalink
https mode
Browse files Browse the repository at this point in the history
  • Loading branch information
shirishgoyal committed Jan 28, 2016
1 parent c3ce0d4 commit 6a1e598
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -149,7 +149,7 @@ module.exports = function (grunt) {
bg: true
},
run: {
cmd: 'python manage.py runserver 0.0.0.0:<%= paths.port %>'
cmd: 'uwsgi uwsgi-dev.ini'
}
}
});
Expand Down
6 changes: 5 additions & 1 deletion uwsgi-dev-default.ini
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
[uwsgi]
; app gets connected to this port
http-socket = :8000
master = true
processes = 4
Expand All @@ -7,6 +8,9 @@ gevent = 100
http-websockets = true
env = DJANGO_SETTINGS_MODULE=csp.settings
module = csp.wsgi:application
; auto reload if python files modified
py-autoreload = 1
; http://uwsgi-docs.readthedocs.org/en/latest/LogFormat.html
logformat = [%(ltime)] "%(method) %(uri) %(proto)" %(status) %(msecs) %(size)
logformat = [%(ltime)] "%(method) %(uri) %(proto)" %(status) %(msecs) %(size)
; enable for HTTPS mode
;https = :8000,cacert.pem,private_key.pem,HIGH

0 comments on commit 6a1e598

Please sign in to comment.