server_name {{ $domain }}; # include snippets include /etc/nginx/snippets/deny.conf; include /etc/nginx/snippets/expires.conf; # logs access_log /var/log/nginx/{{ $domain }}.access.log; error_log /var/log/nginx/{{ $domain }}.error.log;