diff --git a/.gitea/workflows/deploy-test.yml b/.gitea/workflows/deploy-test.yml index 44e6c72..f807ba7 100755 --- a/.gitea/workflows/deploy-test.yml +++ b/.gitea/workflows/deploy-test.yml @@ -46,8 +46,6 @@ jobs: --exclude='README.md' \ ./ /deploy/ - # Set haus-schleusingen.html as index - cp /deploy/haus-schleusingen.html /deploy/index.html 2>/dev/null || true echo "✅ Deployment complete!" diff --git a/AGENTS.md b/AGENTS.md index d60d5f8..17671c4 100755 --- a/AGENTS.md +++ b/AGENTS.md @@ -17,7 +17,7 @@ | Pfad | Beschreibung | | --------------------------- | -------------------------------------------- | -| `haus-schleusingen.html` | Einstiegsseite (einzige HTML-Datei) | +| `public/index.php` | Einstiegsseite (PHP-Entry-Point) | | `css/haus-schleusingen.css` | Hauptstylesheet | | `js/haus-schleusingen.js` | Haupt-JavaScript | | `js/masonry.pkgd.min.js` | Masonry-Layout-Bibliothek (nicht bearbeiten) | diff --git a/README.md b/README.md index 6eba230..58a18fb 100755 --- a/README.md +++ b/README.md @@ -44,7 +44,7 @@ Das Projekt basiert auf reinem HTML, CSS und JavaScript und wird über einen Ngi ## Projektstruktur ``` -├── haus-schleusingen.html # Einstiegsseite (einzige HTML-Datei) +├── public/index.php # Einstiegsseite (PHP-Entry-Point) ├── css/ │ └── haus-schleusingen.css # Hauptstylesheet ├── js/ diff --git a/nginx.conf b/nginx.conf index b82c87a..d595439 100755 --- a/nginx.conf +++ b/nginx.conf @@ -3,7 +3,7 @@ server { server_name localhost; root /usr/share/nginx/html; - index haus-schleusingen.html; + index index.php; # Gzip aktivieren gzip on; @@ -12,7 +12,7 @@ server { gzip_vary on; location / { - try_files $uri $uri/ /haus-schleusingen.html; + try_files $uri $uri/ /index.php; } # Lange Cache-Dauer für Bilder und statische Assets diff --git a/public/robots.txt b/public/robots.txt index 516c855..eccce85 100755 --- a/public/robots.txt +++ b/public/robots.txt @@ -1,3 +1,3 @@ User-agent: * Allow: / -Sitemap: https://haus-schleusingen.de/haus-schleusingen.html +Sitemap: https://haus-schleusingen.de/