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

This commit is contained in:
Camilla Schoeser
2026-06-10 17:45:44 +02:00
parent b8065aa284
commit 045e4955fc
+10 -5
View File
@@ -7,11 +7,10 @@ data:
default.conf: |
server {
listen 80;
root /var/www/html;
index index.html;
# Vue SPA unique
# Vue SPA
location /VUEJS/ {
alias /var/www/html/VUEJS/myapp/dist/;
index index.html;
@@ -21,12 +20,18 @@ data:
# assets Vite
location /VUEJS/assets/ {
alias /var/www/html/VUEJS/myapp/dist/assets/;
access_log off;
expires 1y;
add_header Cache-Control "public";
}
# favicon
location = /VUEJS/favicon.ico {
alias /var/www/html/VUEJS/myapp/dist/favicon.ico;
}
# STOP PHP fallback (important)
location ~ \.php$ {
fastcgi_pass 127.0.0.1:9000;
include fastcgi_params;
return 404;
}
}