From 1fe48b8a4dac16077e47035aa131d53f11a71ed8 Mon Sep 17 00:00:00 2001 From: Jean-Marie Mineau Date: Tue, 11 May 2021 18:48:24 +0200 Subject: [PATCH] update X-Claks --- group_vars/all/in_memoriam.yml | 11 +++++++++++ .../templates/nginx/sites-available/reverse_proxy | 4 ++-- .../templates/nginx/sites-available/sharing_site | 5 +++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 group_vars/all/in_memoriam.yml diff --git a/group_vars/all/in_memoriam.yml b/group_vars/all/in_memoriam.yml new file mode 100644 index 0000000..aca7eae --- /dev/null +++ b/group_vars/all/in_memoriam.yml @@ -0,0 +1,11 @@ +--- +in_memoriam: + - Terry Pratchett + - Pierre Bottero + - Alan Turing + - Ada Lovelace + - Evariste Galois + - Grace Hopper + - John Conway + - Leonhard Euler + diff --git a/roles/reverse_proxy_http/templates/nginx/sites-available/reverse_proxy b/roles/reverse_proxy_http/templates/nginx/sites-available/reverse_proxy index 1936cc1..62297f3 100644 --- a/roles/reverse_proxy_http/templates/nginx/sites-available/reverse_proxy +++ b/roles/reverse_proxy_http/templates/nginx/sites-available/reverse_proxy @@ -13,7 +13,7 @@ server { } # "A man is not dead while his name is still spoken." -- Going Postal - add_header X-Clacks-Overhead "GNU Terry Pratchett"; + add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}"; } server { @@ -35,6 +35,6 @@ server { } # "A man is not dead while his name is still spoken." -- Going Postal - add_header X-Clacks-Overhead "GNU Terry Pratchett"; + add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}"; } diff --git a/roles/share_file_web/templates/nginx/sites-available/sharing_site b/roles/share_file_web/templates/nginx/sites-available/sharing_site index e7d9302..e446f2e 100644 --- a/roles/share_file_web/templates/nginx/sites-available/sharing_site +++ b/roles/share_file_web/templates/nginx/sites-available/sharing_site @@ -11,6 +11,8 @@ server { location / { return 302 https://$host$request_uri; } + # "A man is not dead while his name is still spoken." -- Going Postal + add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}"; } server { @@ -30,5 +32,8 @@ server { root {{ item.folder }}; try_files $uri $uri.html 404; } + + # "A man is not dead while his name is still spoken." -- Going Postal + add_header X-Clacks-Overhead "GNU {{ ', '.join(in_memoriam) }}"; }