Class: Nginx::RailsServerBlock
- Inherits:
-
SiteServerBlock
- Object
- ServerBlock
- SiteServerBlock
- Nginx::RailsServerBlock
- Defined in:
- lib/shared_infrastructure/nginx/server_block.rb
Instance Method Summary collapse
Methods inherited from SiteServerBlock
Methods inherited from ServerBlock
Constructor Details
This class inherits a constructor from Nginx::ServerBlock
Instance Method Details
#root_directory ⇒ Object
62 63 64 |
# File 'lib/shared_infrastructure/nginx/server_block.rb', line 62 def root_directory File.join(domain.site_root, "/public") end |