Site statique
name: mon-sitecodeType: StaticC’est tout. Le deployer :
- Upload les fichiers vers Google Cloud Storage
- Configure le serving via Envoy Gateway
- Gere le trailing slash (
/about->/about/) - Retourne une page 404 HTML propre pour les fichiers manquants
Avec hostname et reseau public
Section intitulée « Avec hostname et reseau public »name: prestaportalnamespace: prestaportalcodeType: Static
network: - name: app host: prestaportal.homeserve.fr isPublic: true fromToWWW: false services: - name: prestaportal port: 80 path: /Avec redirections
Section intitulée « Avec redirections »name: mon-sitecodeType: Static
network: - name: app host: mon-site.homeserve.fr isPublic: true urlRedirects: - source: /ancien target: /nouveau dnsRedirections: - ancien-domaine.fr