Compare commits

..

No commits in common. "6e5de53937a8bddf93365ab163a8f726723674e0" and "21df85e97ab183da3e602267ec8dfd6208afe86a" have entirely different histories.

4 changed files with 9 additions and 12 deletions

View file

@ -1,3 +1,10 @@
a.interwiki,
a.urlextern,
a.windows {
padding-left: 0 !important;
background: none !important;
}
body { body {
font: unset; font: unset;
} }

View file

@ -1,9 +1,8 @@
server { server {
listen 443 ssl; listen 443 ssl http2;
listen [::]:443 ssl; listen [::]:443 ssl http2;
server_name {{ dns_name }}; server_name {{ dns_name }};
http2 on;
ssl_certificate /etc/letsencrypt/live/{{ dns_name }}/fullchain.pem; ssl_certificate /etc/letsencrypt/live/{{ dns_name }}/fullchain.pem;
ssl_certificate_key /etc/letsencrypt/live/{{ dns_name }}/privkey.pem; ssl_certificate_key /etc/letsencrypt/live/{{ dns_name }}/privkey.pem;

View file

@ -1,3 +0,0 @@
#!/bin/sh
service nginx reload

View file

@ -29,12 +29,6 @@
cmd: certbot certonly --non-interactive --agree-tos --register-unsafely-without-email --webroot --webroot-path /srv/http -d {{ dns_name }} cmd: certbot certonly --non-interactive --agree-tos --register-unsafely-without-email --webroot --webroot-path /srv/http -d {{ dns_name }}
creates: '/etc/letsencrypt/renewal/{{ dns_name }}.conf' creates: '/etc/letsencrypt/renewal/{{ dns_name }}.conf'
- name: Install certificate renewal deployment hook
copy:
dest: /etc/letsencrypt/renewal-hooks/deploy/
src: reload-nginx.sh
mode: 0755
- name: Enable certbot renewal - name: Enable certbot renewal
cron: cron:
name: "certbot renew" name: "certbot renew"