- # nginx + passenger application vhost
- #
- # Generated by Chef for <%= node[:fqdn] %>
- # Local modifications will be overwritten.
- #
- server {
- listen 80;
- server_name <%= @server_name %><% @server_aliases.each do |a| %><%= " #{a}" %> <% end %>;
- root <%= @docroot %>;
- error_log <%= node[:nginx][:log_dir] %>/<%= @app %>-error.log;
- access_log <%= node[:nginx][:log_dir] %>/<%= @app %>-access.log;
- passenger_enabled on;
- }
|