modif fichier yml
Deploy PHP / deploy (push) Successful in 36s

This commit is contained in:
Camilla Schoeser
2026-06-10 00:00:31 +02:00
parent eb25dec778
commit 4ac51ca522
+12 -5
View File
@@ -1,3 +1,4 @@
---
apiVersion: v1
kind: ConfigMap
metadata:
@@ -8,13 +9,14 @@ data:
server {
listen 80;
root /var/www/html;
index index.html;
index index.php index.html;
types {
text/html html htm;
text/html html htm;
text/css css;
application/javascript js;
application/json json;
text/yaml yml yaml;
image/png png;
image/jpeg jpg jpeg;
image/svg+xml svg;
@@ -24,9 +26,13 @@ data:
font/woff2 woff2;
}
location /VUEJS/myapp/dist/assets/ {
alias /var/www/html/VUEJS/myapp/dist/assets/;
}
location /VUEJS/myapp/dist/ {
root /var/www/html;
try_files $uri $uri/ /VUEJS/myapp/dist/index.html;
root /var/www/html;
try_files $uri $uri/ /VUEJS/myapp/dist/index.html;
}
location / {
@@ -43,4 +49,5 @@ data:
location ~ /\.git {
deny all;
}
}
}