aur repo wip
This commit is contained in:
18
ansible/roles/nginx/templates/nginx-site.conf.j2
Normal file
18
ansible/roles/nginx/templates/nginx-site.conf.j2
Normal file
@ -0,0 +1,18 @@
|
||||
server {
|
||||
listen 80;
|
||||
server_name {{ item.name }};
|
||||
location / {
|
||||
return 301 https://$host$request_uri;
|
||||
}
|
||||
}
|
||||
|
||||
server {
|
||||
listen 443 ssl http2;
|
||||
server_name {{ item.name }};
|
||||
ssl_certificate /etc/letsencrypt/live/{{ item.name }}/fullchain.pem;
|
||||
ssl_certificate_key /etc/letsencrypt/live/{{ item.name }}/privkey.pem;
|
||||
index index.html;
|
||||
root {{ item.root }};
|
||||
location / {
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user