Compare commits
2 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| acc66276f3 | |||
| 6132d88686 |
@@ -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>
|
||||
@@ -0,0 +1 @@
|
||||
VITE_API_URL=http://localhost:3000
|
||||
@@ -0,0 +1 @@
|
||||
VITE_API_URL=https://sushi.alocoq.fr/api
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Vendored
+3
-3
@@ -2,12 +2,12 @@
|
||||
<html lang="">
|
||||
<head>
|
||||
<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 -->
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<title>Vite App</title>
|
||||
<script type="module" crossorigin src="/VUEJS/myapp/dist/assets/index-DCcDcfm0.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/VUEJS/myapp/dist/assets/index-XGNx2_it.css">
|
||||
<script type="module" crossorigin src="/VUEJS/assets/index-xPwL3xn4.js"></script>
|
||||
<link rel="stylesheet" crossorigin href="/VUEJS/assets/index-XGNx2_it.css">
|
||||
</head>
|
||||
<body>
|
||||
<div id="app"></div>
|
||||
|
||||
@@ -6,7 +6,7 @@ import vueDevTools from 'vite-plugin-vue-devtools'
|
||||
|
||||
// https://vite.dev/config/
|
||||
export default defineConfig({
|
||||
base: '/VUEJS/myapp/dist/',
|
||||
base: '/VUEJS/',
|
||||
|
||||
plugins: [
|
||||
vue(),
|
||||
|
||||
+20
-1
@@ -1,4 +1,3 @@
|
||||
---
|
||||
apiVersion: v1
|
||||
kind: ConfigMap
|
||||
metadata:
|
||||
@@ -10,6 +9,7 @@ data:
|
||||
listen 80;
|
||||
root /var/www/html;
|
||||
index index.php index.html;
|
||||
error_page 404 /404.html;
|
||||
|
||||
types {
|
||||
text/html html htm;
|
||||
@@ -26,6 +26,11 @@ data:
|
||||
font/woff2 woff2;
|
||||
}
|
||||
|
||||
location = /404.html {
|
||||
root /var/www/html;
|
||||
internal;
|
||||
}
|
||||
|
||||
location /VUEJS/myapp/dist/ {
|
||||
alias /var/www/html/VUEJS/myapp/dist/;
|
||||
index index.html;
|
||||
@@ -53,5 +58,19 @@ data:
|
||||
location ~ /\.git {
|
||||
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;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 1.5 MiB |
Reference in New Issue
Block a user