Skip to content

Commit

Permalink
try to fix acmetool and fix template path
Browse files Browse the repository at this point in the history
  • Loading branch information
DO1JLR committed Dec 23, 2020
1 parent cbd3763 commit ece0352
Show file tree
Hide file tree
Showing 5 changed files with 33 additions and 0 deletions.
3 changes: 3 additions & 0 deletions roles/acmetool_fix/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# acmetoo-fix

Install the latest acmetool from http://ftp.de.debian.org/debian/pool/main/a/acmetool/acmetool_0.2.1-4_amd64.deb
2 changes: 2 additions & 0 deletions roles/acmetool_fix/defaults/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
---
acmetool_fix__deb: http://ftp.de.debian.org/debian/pool/main/a/acmetool/acmetool_0.2.1-4_amd64.deb
5 changes: 5 additions & 0 deletions roles/acmetool_fix/tasks/main.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
- name: install acmetool from fixed url
become: true
apt:
deb: "{{ acmetool_fix__deb }}"
1 change: 1 addition & 0 deletions site.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,5 +19,6 @@
hosts: web
roles:
- { role: webhost2, tags: [web,webhost]}
- { role: acmetool_fix, tags: [web,acmetool]}
- { role: acmetool2, tags: [web,acmetool]}
- { role: nginx2, tags: [web,nginx]}
22 changes: 22 additions & 0 deletions templates/files/nginx/sites/c3woc.org_tls.conf
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
server {
listen 443 ssl http2;
listen [::]:443 ssl http2;

server_name c3woc.org;

include snippets/tls_parameters_{{ site.name }}.snippet.conf;
include snippets/tls_certificate_{{ site.name }}.snippet.conf;
include snippets/logging_{{ site.name }}.snippet.conf;

root /srv/www/files.chvoc.ch;

location / {
try_files $uri $uri/ =404;
}

location /files/foobarach1xa/ {
autoindex on;
autoindex_exact_size off;
autoindex_localtime on;
}
}

0 comments on commit ece0352

Please sign in to comment.