Skip to content
Browse files

Server setup

  • Loading branch information...
1 parent c4e3d8a commit b356d9101dbc33d1bf7b0dd7440c8c8824570232 @himynameisjonas committed
Showing with 6 additions and 0 deletions.
  1. +1 −0 Procfile
  2. +3 −0 config.ru
  3. +2 −0 unicorn.rb
View
1 Procfile
@@ -0,0 +1 @@
+web: bundle exec unicorn -p $PORT -c ./unicorn.rb
View
3 config.ru
@@ -0,0 +1,3 @@
+require "rack/jekyll"
+
+run Rack::Jekyll.new(:destination => 'public')
View
2 unicorn.rb
@@ -0,0 +1,2 @@
+worker_processes 6 # amount of unicorn workers to spin up
+timeout 30 # restarts workers that hang for 30 seconds

0 comments on commit b356d91

Please sign in to comment.
Something went wrong with that request. Please try again.