Files
nairobi/config/puma/staging.rb
Javi Martín 1e32455cd9 Add puma configuration to version control
We were using Capistrano's shared folder because it was the default
folder used by the capistrano-puma gem. However, it's easier to manage
it if it's under version control.

So we're moving the old `puma.rb` to `puma/development.rb`, and we use
the new `puma.rb` file for all environments except development. Anyone
installing CONSUL can change these files at will or change the specific
files for preproduction, production and staging environments.
2019-11-13 13:28:27 +01:00

6 lines
99 B
Ruby

#!/usr/bin/env puma
_load_from File.expand_path("../../puma.rb", __FILE__)
environment "staging"