coursework/ansible/roles/nginx_site/templates/siteA.conf.j2
2024-11-12 23:22:02 +03:00

17 lines
298 B
Django/Jinja

server {
listen 80;
server_name {{ siteA.site_domain }};
root /var/www/siteA;
index index.html;
location / {
try_files $uri $uri/ =404;
}
location /health {
return 200 'SiteA is up';
add_header Content-Type text/plain;
}
}