Style broken with zola build, while zola serve works fine

Thank you so much !
With proper nginx configuration, the css is now used by the website.

Here is my current configuration : `http {
include mime.types; # Inclusion des types MIME
default_type application/octet-stream; # Type par défaut

server {
    listen 80;
    server_name 45.90.220.236;

    root /app/public;

    # Serveur principal
    location / {
        try_files $uri $uri/ =404;
    }

    # Servir les fichiers statiques avec les bons types MIME
    location ~* \.(css|js|png|jpg|jpeg|gif|ico)$ {
        try_files $uri =404;
        expires 30d;  # Cache les fichiers statiques pour 30 jours
        add_header Cache-Control "public, no-transform";
    }
}

}`

I can now start to iterate again on the content. Thanks again <3

1 Like