fix directory
This commit is contained in:
16
ansible/roles/nginx_site/templates/siteB.conf.j2
Normal file
16
ansible/roles/nginx_site/templates/siteB.conf.j2
Normal file
@ -0,0 +1,16 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name {{ siteB.site_domain }};
|
||||
|
||||
root /var/www/siteB;
|
||||
index index.html;
|
||||
|
||||
location / {
|
||||
try_files $uri $uri/ =404;
|
||||
}
|
||||
|
||||
location /health {
|
||||
return 200 'SiteB is up';
|
||||
add_header Content-Type text/plain;
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user