Compare commits

2 Commits

Author SHA1 Message Date
Camilla Schoeser acc66276f3 test local vs en ligne
Deploy PHP / deploy (push) Failing after 2m10s
2026-06-10 22:15:26 +02:00
Camilla Schoeser 6132d88686 update build 2026-06-10 20:12:59 +02:00
8 changed files with 51 additions and 6 deletions
+24
View File
@@ -0,0 +1,24 @@
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="refresh" content="4;URL=https://camilou.fr/index.html">
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>404 error</title>
<link rel="stylesheet" href="../../CSS.css">
<link rel="stylesheet" href="CSS.css">
<link rel="icon" href="favicon.ico" type="image/x-icon">
<style>
*{font-family:Georgia, 'Times New Roman', Times, serif}
body {background-image: linear-gradient(to bottom,#bc31f8, #f970db,#6bb0f5, #36eeae ); /* Dégradé du haut vers le bas */
background-attachment: fixed; /* Fond d'écran statique */}
body{background-image: url(mouton\ 404.png);background-size: contain; background-position: center}
</style>
</head>
<body>
</body>
</html>
+1
View File
@@ -0,0 +1 @@
VITE_API_URL=http://localhost:3000
+1
View File
@@ -0,0 +1 @@
VITE_API_URL=https://sushi.alocoq.fr/api
File diff suppressed because one or more lines are too long
+3 -3
View File
@@ -2,12 +2,12 @@
<html lang=""> <html lang="">
<head> <head>
<meta charset="UTF-8"> <meta charset="UTF-8">
<link rel="icon" href="/VUEJS/myapp/dist/favicon.ico"> <link rel="icon" href="/VUEJS/favicon.ico">
<link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <!-- les icones --> <link rel="stylesheet" href="https://fonts.googleapis.com/icon?family=Material+Icons"> <!-- les icones -->
<meta name="viewport" content="width=device-width, initial-scale=1.0"> <meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Vite App</title> <title>Vite App</title>
<script type="module" crossorigin src="/VUEJS/myapp/dist/assets/index-DCcDcfm0.js"></script> <script type="module" crossorigin src="/VUEJS/assets/index-xPwL3xn4.js"></script>
<link rel="stylesheet" crossorigin href="/VUEJS/myapp/dist/assets/index-XGNx2_it.css"> <link rel="stylesheet" crossorigin href="/VUEJS/assets/index-XGNx2_it.css">
</head> </head>
<body> <body>
<div id="app"></div> <div id="app"></div>
+1 -1
View File
@@ -6,7 +6,7 @@ import vueDevTools from 'vite-plugin-vue-devtools'
// https://vite.dev/config/ // https://vite.dev/config/
export default defineConfig({ export default defineConfig({
base: '/VUEJS/myapp/dist/', base: '/VUEJS/',
plugins: [ plugins: [
vue(), vue(),
+20 -1
View File
@@ -1,4 +1,3 @@
---
apiVersion: v1 apiVersion: v1
kind: ConfigMap kind: ConfigMap
metadata: metadata:
@@ -10,6 +9,7 @@ data:
listen 80; listen 80;
root /var/www/html; root /var/www/html;
index index.php index.html; index index.php index.html;
error_page 404 /404.html;
types { types {
text/html html htm; text/html html htm;
@@ -26,6 +26,11 @@ data:
font/woff2 woff2; font/woff2 woff2;
} }
location = /404.html {
root /var/www/html;
internal;
}
location /VUEJS/myapp/dist/ { location /VUEJS/myapp/dist/ {
alias /var/www/html/VUEJS/myapp/dist/; alias /var/www/html/VUEJS/myapp/dist/;
index index.html; index index.html;
@@ -53,5 +58,19 @@ data:
location ~ /\.git { location ~ /\.git {
deny all; deny all;
} }
# 🔽 AJOUTE CE BLOC POUR REDIRIGER VERS TON BACKEND ELYSIA
location /api/ {
proxy_pass http://127.0.0.1:3000/;
proxy_http_version 1.1;
proxy_set_header Upgrade $http_upgrade;
proxy_set_header Connection 'upgrade';
proxy_set_header Host $host;
proxy_cache_bypass $http_upgrade;
}
location / {
try_files $uri $uri/ /index.php?$query_string;
}
} }
BIN
View File
Binary file not shown.

After

Width:  |  Height:  |  Size: 1.5 MiB