test chemin plus joli version 837
Deploy PHP / deploy (push) Failing after 2m16s

This commit is contained in:
Camilla Schoeser
2026-06-10 19:58:11 +02:00
parent 045e4955fc
commit 4777940eac
+9 -6
View File
@@ -10,27 +10,30 @@ data:
root /var/www/html;
# Vue SPA
# ---------------- VUE SPA (IMPORTANT)
location /VUEJS/ {
alias /var/www/html/VUEJS/myapp/dist/;
index index.html;
try_files $uri $uri/ /VUEJS/myapp/dist/index.html;
try_files $uri $uri/ /index.html;
}
# assets Vite
# ---------------- ASSETS (Vite)
location /VUEJS/assets/ {
alias /var/www/html/VUEJS/myapp/dist/assets/;
access_log off;
expires 1y;
add_header Cache-Control "public";
try_files $uri =404;
}
# favicon
# ---------------- FAVICON
location = /VUEJS/favicon.ico {
alias /var/www/html/VUEJS/myapp/dist/favicon.ico;
access_log off;
}
# STOP PHP fallback (important)
# ---------------- BLOQUE PHP (important pour éviter 500)
location ~ \.php$ {
return 404;
}