diff --git a/guides/source/configuring.md b/guides/source/configuring.md index 37fa47c2542fa..1a404f83a8442 100644 --- a/guides/source/configuring.md +++ b/guides/source/configuring.md @@ -500,7 +500,11 @@ The default value depends on the `config.load_defaults` target version: #### `config.public_file_server.enabled` -Configures Rails to serve static files from the public directory. This option defaults to `true`, but in the production environment it is set to `false` because the server software (e.g. NGINX or Apache) used to run the application should serve static files instead. If you are running or testing your app in production using WEBrick (it is not recommended to use WEBrick in production), set the option to `true`. Otherwise, you won't be able to use page caching and request for files that exist under the public directory. +Configures whether Rails should serve static files from the public directory. +Defaults to `true`. + +If the server software (e.g. NGINX or Apache) should serve static files instead, +set this value to `false`. #### `config.railties_order`