mirror of
https://github.com/puma/puma.git
synced 2022-11-09 13:48:40 -05:00
README: Clarify config file fallbacks (#2509)
This commit is contained in:
parent
db98921805
commit
cb1b2a86f9
1 changed files with 1 additions and 1 deletions
|
@ -255,7 +255,7 @@ You can also provide a configuration file with the `-C` (or `--config`) flag:
|
|||
$ puma -C /path/to/config
|
||||
```
|
||||
|
||||
If no configuration file is specified, Puma will look for a configuration file at `config/puma.rb`. If an environment is specified, either via the `-e` and `--environment` flags, or through the `RACK_ENV` or the `RAILS_ENV` environment variables, Puma looks for configuration at `config/puma/<environment_name>.rb`.
|
||||
If no configuration file is specified, Puma will look for a configuration file at `config/puma.rb`. If an environment is specified, either via the `-e` and `--environment` flags, or through the `RACK_ENV` or the `RAILS_ENV` environment variables, Puma first looks for configuration at `config/puma/<environment_name>.rb`, and then falls back to `config/puma.rb`.
|
||||
|
||||
If you want to prevent Puma from looking for a configuration file in those locations, provide a dash as the argument to the `-C` (or `--config`) flag:
|
||||
|
||||
|
|
Loading…
Reference in a new issue