Manage custom templates for sites

Issue #12 related
This commit is contained in:
Emilien Mantel
2020-08-23 16:22:33 +02:00
committed by Emilien M
parent da08953a27
commit 204e95725e
3 changed files with 66 additions and 8 deletions

View File

@@ -0,0 +1,16 @@
# {{ ansible_managed }} - custom template
server {
listen 80;
listen 8888 http2;
listen 9999 http2 proxy_protocol;
server_name {{ item.name }};
index index.html index.htm;
root {{ item.root }};
location / {
try_files $uri $uri/ =404;
}
}