Sha256: 1bb298277db80248239a8368dbefb079dba8f8cc57db2462802ed70fb9f377a9
Contents?: true
Size: 1.33 KB
Versions: 1
Compression:
Stored size: 1.33 KB
Contents
## # This file mounts each app in the Tennpipes project to a specified sub-uri. # You can mount additional applications using any of these commands below: # # Tennpipes.mount('blog').to('/blog') # Tennpipes.mount('blog', :app_class => 'BlogApp').to('/blog') # Tennpipes.mount('blog', :app_file => 'path/to/blog/app.rb').to('/blog') # # You can also map apps to a specified host: # # Tennpipes.mount('Admin').host('admin.example.org') # Tennpipes.mount('WebSite').host(/.*\.?example.org/) # Tennpipes.mount('Foo').to('/foo').host('bar.example.org') # # Note 1: Mounted apps (by default) should be placed into the project root at '/app_name'. # Note 2: If you use the host matching remember to respect the order of the rules. # # By default, this file mounts the primary app which was generated with this project. # However, the mounted app can be modified as needed: # # Tennpipes.mount('AppName', :app_file => 'path/to/file', :app_class => 'BlogApp').to('/') # ## # Setup global project settings for your apps. These settings are inherited by every subapp. You can # override these settings in the subapps as needed. # Tennpipes.configure_apps do # enable :sessions set :session_secret, '<%= SecureRandom.hex(32) %>' set :protection, :except => :path_traversal set :protect_from_csrf, true end # Mounts the core application for this project
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
tennpipes-init-3.6.6 | lib/tennpipes-init/generators/project/config/apps.rb.tt |