# Front React (build statique)
server {
    listen 80;
    server_name app.visioryx.com;
    root /var/www/glopharma/frontend/admin/dist;
    index index.html;

    location / { try_files $uri /index.html; }                       # routes React (SPA)
    location /assets/ { expires 1y; add_header Cache-Control "public, immutable"; }
    # HTTPS : sudo certbot --nginx -d app.visioryx.com
}
