Files

22 lines
444 B
Django/Jinja

# {{ ansible_managed }} <- von Ansible erzeugt, nicht manuell ändern!
user {{ nginx_user }};
worker_processes auto;
events {
worker_connections 1024;
}
http {
server {
listen {{ nginx_port }};
server_name {{ domain }};
root {{ web_root }};
index index.html;
# Fact des Zielsystems wird hier aufgelöst:
access_log /var/log/nginx/{{ ansible_facts['hostname'] }}.access.log;
}
}