5. Configuration Files
All configuration files are located in preference/your_environment/
directory.
As shown below, there are configuration files which are separated by environments.
Overview of configuration files
name | description | link |
---|---|---|
server/puma.rb | For configuring puma web server that launched by ‘nekonote server start’. | 6. Controlling Web Server |
route.yml | For configuring routes. | 7. Routing |
route_include.yml | For configuring common directives to reuse in route.yml. | 7. Routing |
route_error.yml | For configuring routes for error pages. | 8. Error Routes |
setting/ | For configuring static values. You may reference them in program. | 12. User Configuration Files |
logger.yml | For configuring the logger. | 16. Logger |
middlewares.rb | For configuring the Rack middlewares. | 19. Middlewares |
public.yml | For configuring static files under public directory. | 18. Publishing Static Files |