diff --git a/templates/inverseproxy.yaml.j2 b/templates/inverseproxy.yaml.j2
index 1253656a235e2f7867a978e7d60690ca1da52a3d..55925334c13e1beeea8eadbcb293380451755a99 100644
--- a/templates/inverseproxy.yaml.j2
+++ b/templates/inverseproxy.yaml.j2
@@ -49,14 +49,14 @@ services:
             - "0.0.0.0:80:80/tcp"
             - "0.0.0.0:443:443/tcp"
             - "0.0.0.0:443:443/udp"
-{% if inventory_hostname in groups['maintenance_contract'] %}
+{% if inventory_hostname in groups['full_maintenance'] %}
             - "0.0.0.0:8443:8443/tcp"
             - "0.0.0.0:8443:8443/udp"
 {% endif %}
             - "[::]:80:80/tcp"
             - "[::]:443:443/tcp"
             - "[::]:443:443/udp"
-{% if inventory_hostname in groups['maintenance_contract'] %}
+{% if inventory_hostname in groups['full_maintenance'] %}
             - "[::]:8443:8443/tcp"
             - "[::]:8443:8443/udp"
 {% endif %}