fix directory
This commit is contained in:
16
ansible/roles/nginx_site/templates/siteA.conf.j2
Normal file
16
ansible/roles/nginx_site/templates/siteA.conf.j2
Normal file
@ -0,0 +1,16 @@
|
||||
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;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user