From 51737a53dc67913e329810997b7b49e031966d99 Mon Sep 17 00:00:00 2001 From: Salt Date: Sat, 2 Oct 2021 21:48:37 -0500 Subject: [PATCH] Revert "Add handles to ingress role" This reverts commit 0586eb5ce9b9c261ee01dbc377596ab6be80a31a. --- roles/ingress/defaults/main.yml | 4 ---- roles/ingress/templates/vhosts.conf.j2 | 9 --------- 2 files changed, 13 deletions(-) diff --git a/roles/ingress/defaults/main.yml b/roles/ingress/defaults/main.yml index 99e9dce..785636c 100644 --- a/roles/ingress/defaults/main.yml +++ b/roles/ingress/defaults/main.yml @@ -45,10 +45,6 @@ ingress_tls_prefer_server_ciphers: "off" # location = /.well-known/caldav { return 301 /remote.php/dav/; } # location ^~ /.well-known { return 301 /index.php$uri; } # try_files $uri $uri/ =404; -# handles: -# - handle: "^~ /.well-known/foo" -# contents: | -# respond `bar` # - name: redirect.example.com # directives: # # NOTE: Do NOT suffix with a semicolon; that gets added for you diff --git a/roles/ingress/templates/vhosts.conf.j2 b/roles/ingress/templates/vhosts.conf.j2 index d9d9da5..9a084a4 100644 --- a/roles/ingress/templates/vhosts.conf.j2 +++ b/roles/ingress/templates/vhosts.conf.j2 @@ -52,15 +52,6 @@ server { {{ location.contents }} } {% endfor %} -{% endif %} - -{% if server.handles is defined %} - # Extra manually-defined handlers -{% for handle in server.handles %} - handle {{ handle.handle }} { - {{ handle.contents }} - } -{% endfor %} {% endif %} resolver {{ ingress_resolver }};