diff --git a/templates/prod.yaml.j2 b/templates/prod.yaml.j2
index 3ca6bb0c35eb00e1bc9b8f099652f7d1907e579d..ee0c1c60f6c55fbc0c282ebe629ffe24fb856ed7 100644
--- a/templates/prod.yaml.j2
+++ b/templates/prod.yaml.j2
@@ -199,8 +199,8 @@ services:
             traefik.http.routers.{{ odoo_prod.extra_app.name | lower | regex_replace('_','') }}.rule: "Host(`{{ odoo_prod.extra_app.url }}`)"
             traefik.http.routers.{{ odoo_prod.extra_app.name | lower | regex_replace('_','') }}.service: "{{ odoo_prod.extra_app.name | lower | regex_replace('_','') }}"
             traefik.http.services.{{ odoo_prod.extra_app.name | lower | regex_replace('_','') }}.loadbalancer.server.port: "80"
-{% endif %}
 
+{% endif %}
 networks:
     default:
         internal: true
diff --git a/templates/test.yaml.j2 b/templates/test.yaml.j2
index 315268133a81d344875391535e11a889d01a8eec..2be7180c4d2e2ff25f67df58650a803d6a557e9f 100644
--- a/templates/test.yaml.j2
+++ b/templates/test.yaml.j2
@@ -129,7 +129,6 @@ services:
             traefik.http.services.{{ item.extra_app.name | lower | regex_replace('_','') }}.loadbalancer.server.port: "80"
 
 {% endif %}
-
 networks:
     default:
         internal: true