Site icon Hip-Hop Website Design and Development

NGINX+wordpress: CSS being served however not utilized

Cheers fellow stackers,

I kinda should get wordpress operating in a self hosted nginx atmosphere.

Kind of precisely utilizing the instructed config from NGINX wordpress doc.

server {
    pay attention 443 ssl;
    server_name _;
    ssl_certificate /var/lib/nginx/PKI/www/server/cert.pem;
    ssl_certificate_key /var/lib/nginx/PKI/www/server/key.pem;
    root /var/lib/nginx/www/wordpress;
    index index.php;
    location / {
            try_files $uri uri/ /index.php?$args;

    }
    location ~ .php$ {
        embody /and so on/nginx/fastcgi_params;
        fastcgi_intercept_errors on;
        fastcgi_pass php;
        fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
    }

    location ~* .(js|css|png|jpg|jpeg|gif|ico)$ {
            expires max;
    }
}

Every part works principally as anticipated, apart from the styling.

(modified background colour for visibility)

Additionally damaged on the precise web site:

(modified background colour for visibility)

Within the admin dashboard, all the things seems to be nice.

CSS information are being served correctly by NGINX.