1
0
Fork 0
mirror of https://github.com/DO1JLR/ansible_playbook_servers.git synced 2024-09-14 19:53:56 +02:00

improve website collection

This commit is contained in:
L3D 2021-01-01 02:52:42 +01:00
parent 4ca138ad47
commit 06611f5628
Signed by: l3d
GPG key ID: CD08445BFF4313D1
7 changed files with 70 additions and 0 deletions

View file

@ -31,6 +31,11 @@ nginx_sites:
- name: 'www.c3woc.eu' - name: 'www.c3woc.eu'
- name: 'c3woc.cn' - name: 'c3woc.cn'
- name: 'www.c3woc.cn' - name: 'www.c3woc.cn'
- name: 'l3d.space'
- name: 'www.l3d.space'
- name: 'ansible.l3d.space'
- name: 'www.ansible.l3d.space'
acme_notification_email: "acme_{{ inventory_hostname }}@l3d.yt" acme_notification_email: "acme_{{ inventory_hostname }}@l3d.yt"

View file

@ -1,2 +1,5 @@
[web] [web]
web01.l3d.space web01.l3d.space
[mail]
mail01.l3d.space

View file

@ -25,3 +25,9 @@
- { role: acmetool2, tags: [web,acmetool]} - { role: acmetool2, tags: [web,acmetool]}
- { role: nginx2, tags: [web,nginx]} - { role: nginx2, tags: [web,nginx]}
- { role: goaccess, tags: [web,goaccess]} - { role: goaccess, tags: [web,goaccess]}
#- name: deploy mail config
# hosts: mail
# roles:
# - { role: postfix, tags: [mail,postfix]}
# - { role: dovecot, tags: [mail,dovecot]}

View file

@ -0,0 +1,14 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name ansible.l3d.space;
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;
location / {
return 308 https://github.com/roles-ansible/;
}
}

View file

@ -0,0 +1,14 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name l3d.space;
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;
location / {
return 418;
}
}

View file

@ -0,0 +1,14 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name www.ansible.l3d.space;
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;
location / {
return 308 https://github.com/roles-ansible/;
}
}

View file

@ -0,0 +1,14 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;
server_name www.l3d.space;
include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;
location / {
return 418;
}
}