Switch back to the upstream nginx cookbook
chef_nginx is deprecated
This commit is contained in:
11
cookbooks/nginx/templates/default/default-site.erb
Normal file
11
cookbooks/nginx/templates/default/default-site.erb
Normal file
@@ -0,0 +1,11 @@
|
||||
server {
|
||||
listen <%= node['nginx']['port'] -%>;
|
||||
server_name <%= node['hostname'] %>;
|
||||
|
||||
access_log <%= node['nginx']['log_dir'] %>/localhost.access.log;
|
||||
|
||||
location / {
|
||||
root <%= node['nginx']['default_root'] %>;
|
||||
index index.html index.htm;
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user