myproj.conf.erb 429 B

12345678910111213
  1. # nginx + passenger application vhost
  2. #
  3. # Generated by Chef for <%= node['fqdn'] %>
  4. # Local modifications will be overwritten.
  5. #
  6. server {
  7. listen 80;
  8. server_name <%= @server_name %><% @server_aliases.each do |a| %><%= " #{a}" %> <% end %>;
  9. root <%= @docroot %>;
  10. error_log <%= node['nginx']['log_dir'] %>/<%= @app %>-error.log;
  11. access_log <%= node['nginx']['log_dir'] %>/<%= @app %>-access.log;
  12. passenger_enabled on;
  13. }