Feature: Eigene 404-Seite im Landingpage-Stil
app/not-found.tsx erzeugt landingpage/404.html (Terminal-Look mit angefragtem Pfad). Die Deploy-Skripte kopieren sie zusätzlich in den Webroot, damit sie auch außerhalb von /landingpage/ greift. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
parent
99c6c9516c
commit
ea2bcfbd27
1 changed files with 153 additions and 0 deletions
|
|
@ -17,6 +17,10 @@ echo "Setze symbolischen Link: index.html → landingpage/index.html"
|
|||
sudo rm -f /var/www/html/index.html
|
||||
sudo ln -s landingpage/index.html /var/www/html/index.html
|
||||
|
||||
echo "Kopiere 404-Seite: landingpage/404.html → 404.html"
|
||||
sudo cp landingpage/404.html /var/www/html/404.html
|
||||
sudo chown www-data:www-data /var/www/html/404.html
|
||||
|
||||
sudo chown -R www-data:www-data /var/www/html/landingpage/
|
||||
|
||||
echo ""
|
||||
|
|
|
|||
Loading…
Reference in a new issue