diff --git a/templates/inverseproxy.yaml.j2 b/templates/inverseproxy.yaml.j2
index 03f33ce944a78bcd823cc6e4ba2345ecb2257e34..a19ee742550baa39b5636581eedd36a2916b8d67 100644
--- a/templates/inverseproxy.yaml.j2
+++ b/templates/inverseproxy.yaml.j2
@@ -7,12 +7,15 @@ services:
             TZ: "{{ timezone }}"
         networks:
             shared:
-{% if inventory_hostname in groups['docker_auth'] or cloud_collabora or cloud_onlyoffice %}
+{% if inventory_hostname in groups['docker_auth'] | union(groups['docker_nagios']) or cloud_collabora or cloud_onlyoffice %}
               aliases:
 {% if inventory_hostname in groups['docker_auth'] %}
                 - {{ ldap_url }}
                 - {{ sso_url }}
 {% endif %}
+{% if inventory_hostname in groups['docker_nagios'] %}
+                - {{ nagios_url }}
+{% endif %}
 {% if inventory_hostname in groups['docker_nextcloud'] | union(groups['docker_owncloud']) %}
                 - {{ cloud_url }}
 {% if cloud_collabora %}