How do I use puma's configuration file?

后端 未结 4 653
悲&欢浪女
悲&欢浪女 2020-12-13 05:27

I was following this guide it documents the puma.rb file that is stored inside the app\'s config directory.

The guide is a bit flakey, but here\'s what

4条回答
  •  生来不讨喜
    2020-12-13 05:49

    If there is an environment defined - which is the case in your example - the configuration file is read from config/puma/[environment].rb and not config/puma.rb.

    Just move your config/puma.rb to config/puma/production.rb and it should work.

    Read the Puma documentation for more details: Configuration file

提交回复
热议问题