lib/ms_deploy/recipes/nginx.rb in ms_deploy-0.2.4 vs lib/ms_deploy/recipes/nginx.rb in ms_deploy-0.2.5
- old
+ new
@@ -41,10 +41,11 @@
'with_upstream_server' => true,
'with_file_expire_max' => fetch(:with_file_expire_max, true),
'optional_http_content' => fetch(:optional_nginx_server_http_content, ''),
'optional_https_content' => fetch(:optional_nginx_server_https_content, ''),
'cert_type' => fetch(:cert_type, 'pem'),
- 'key_type' => fetch(:cert_type, 'key')
+ 'key_type' => fetch(:cert_type, 'key'),
+ 'serve_static_files' => fetch(:serve_static_files, true),
}
if protocol.nil? or protocol == 'http' or protocol == 'both'
config_path = "#{shared_path}/config/#{application}_vhost.conf"