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

Commit

Permalink
remove nginx
Browse files Browse the repository at this point in the history
  • Loading branch information
shirishgoyal committed Jan 28, 2016
1 parent beeb0ee commit 48534a1
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion Procfile
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
web: bin/start-nginx bin/start-pgbouncer-stunnel uwsgi uwsgi.ini
web: bin/start-pgbouncer-stunnel uwsgi uwsgi.ini
worker: bin/start-pgbouncer-stunnel celery -A csp worker -B -q
2 changes: 1 addition & 1 deletion static/js/crowdsource.js
Original file line number Diff line number Diff line change
Expand Up @@ -77,7 +77,7 @@ function run($http, $rootScope, $window, $location, Authentication) {

return protocol +"://"+ host + ":" + port;
};

/*$rootScope.$on('oauth:error', function(event, rejection) {
if ('invalid_grant' === rejection.data.error) {
return;
Expand Down
6 changes: 3 additions & 3 deletions uwsgi.ini
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
[uwsgi]
http-socket = /tmp/nginx.socket
http-socket = :$(PORT)
emperor = vassals
die-on-term = true
offload-threads = 1
single-interpreter = true
enable-threads = true
env = DJANGO_SETTINGS_MODULE=csp.settings
module = csp.wsgi:application
route = ^/ws uwsgi:/var/tmp/websockets.socket,0,0
route = ^/ uwsgi:/var/tmp/webserver.socket,0,0
hook-accepting1 = exec:touch /tmp/app-initialized

0 comments on commit 48534a1

Please sign in to comment.