From 1295dd8f97b7aed56cfa842da7d1923af1a526d5 Mon Sep 17 00:00:00 2001 From: Chris Lovering Date: Wed, 12 Oct 2022 20:23:37 +0100 Subject: Delete roles we won't use with self-hosted k8s --- roles/nginx/files/default_server.conf | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 roles/nginx/files/default_server.conf (limited to 'roles/nginx/files/default_server.conf') diff --git a/roles/nginx/files/default_server.conf b/roles/nginx/files/default_server.conf deleted file mode 100644 index 13e74a0..0000000 --- a/roles/nginx/files/default_server.conf +++ /dev/null @@ -1,24 +0,0 @@ -# Managed by Ansible -server { - listen 443 ssl http2 default_server; - - ssl_certificate /etc/letsencrypt/live/pydis.wtf/fullchain.pem; - ssl_certificate_key /etc/letsencrypt/live/pydis.wtf/privkey.pem; - - location / { - set_by_lua_block $url { - local urls = { - "https://fasterthanli.me/articles/i-want-off-mr-golangs-wild-ride", - "https://en.wikipedia.org/wiki/Tax_evasion", - "https://jchri.st/blog/apfs-sadness-on-macos-big-sur.html", - "https://cdn.discordapp.com/attachments/675756741417369640/852688961516077086/Screenshot_2021-06-11_at_00.21.22.png", - "https://news.ycombinator.com/", - "https://www.hertfordshire.gov.uk/latest/letchworth-webcam.jpg", - "https://media.discordapp.net/attachments/922169059175444501/952929630459924501/1svkf3xto3n61.png" - } - return urls [ math.random(#urls) ] - } - - return 302 $url; - } -} -- cgit v1.2.3