diff --git a/src/Handler.php b/src/Handler.php
index e717240611ae46e7a94c76ae7019d15d46b3534d..20b180db6121e6fc65e6894a8116b6d88b33ceaf 100644
--- a/src/Handler.php
+++ b/src/Handler.php
@@ -518,8 +518,10 @@ class Handler extends BaseHandler {
     // Ignore some Unlighthouse directories.
     $this->gitIgnore('tests/unlighthouse');
 
-    // Ignore Invoice Ninja directory.
-    $this->gitIgnore('/in/');
+    if ($this->config->readValue(['invoiceninja', 'enable'])) {
+      // Ignore Invoice Ninja directory.
+      $this->gitIgnore('/in/');
+    }
 
     if (getenv('LAKEDROPS_BUILD_NG') !== 'yes') {
       $this->updateTraefik();
@@ -640,14 +642,8 @@ class Handler extends BaseHandler {
       'mailpitout.yml' => [
         'dest' => $projectRoot . '/tests',
       ],
-      'hosts' => [
-        'source' => 'in/',
-        'dest' => $projectRoot . '/in',
-        'condition' => $this->config->readValue(['invoiceninja', 'enable']),
-      ],
       'in-vhost.conf' => [
-        'source' => 'in/',
-        'dest' => $projectRoot . '/in',
+        'dest' => $projectRoot . '/config',
         'condition' => $this->config->readValue(['invoiceninja', 'enable']),
       ],
     ];
diff --git a/templates/in/in-vhost.conf.twig b/templates/in-vhost.conf.twig
similarity index 100%
rename from templates/in/in-vhost.conf.twig
rename to templates/in-vhost.conf.twig
diff --git a/templates/in/hosts.twig b/templates/in/hosts.twig
deleted file mode 100644
index eaf588906baedd490977f6de9b8f4f9ad4db687d..0000000000000000000000000000000000000000
--- a/templates/in/hosts.twig
+++ /dev/null
@@ -1 +0,0 @@
-192.168.0.124 in5.test