TODO: mise a jour 2026-06-04 - cleanup massif, helms ansible generés

This commit is contained in:
Eric FELIXINE
2026-06-04 02:05:32 -04:00
parent b56749182e
commit 8c2251faba
8 changed files with 1237 additions and 115 deletions

View File

@@ -0,0 +1,26 @@
server {
listen 80;
server_name smartapp.digitribe.fr;
root /usr/share/nginx/html;
index index.html;
# Gzip
gzip on;
gzip_types text/plain text/css application/json application/javascript text/xml application/xml image/svg+xml;
# SPA routing - must be first
location / {
try_files $uri $uri/ /index.html;
}
# Static assets caching
location ~* \.(js|css|png|jpg|jpeg|gif|svg|ico|woff|woff2|ttf|eot|map)$ {
expires 1y;
add_header Cache-Control "public, immutable";
}
# Health check
location /health {
return 200 'OK';
}
}