Roundcube doesn't load CSS and JS
Roundcube doesn't load CSS and JS
Hi,
I login to my webmail and roundcube doesn't have style at all, plain HTML only. I can't find my mails and can't send any.
This is how it looks like:


My setup:
ubuntu 16.04, nginx+php-fpm, mail exim+devecot+spamassasin, dns, firewall iptables+fail2ban, mysql
I login to my webmail and roundcube doesn't have style at all, plain HTML only. I can't find my mails and can't send any.
This is how it looks like:


My setup:
ubuntu 16.04, nginx+php-fpm, mail exim+devecot+spamassasin, dns, firewall iptables+fail2ban, mysql
Re: Roundcube doesn't load CSS and JS
Same Problem here but only for One of my Domains.
I'm looking into it but i don't know if I'll find anything....
I'm looking into it but i don't know if I'll find anything....
Re: Roundcube doesn't load CSS and JS
Have the same problem. Anyone found a solution?
Re: Roundcube doesn't load CSS and JS
i found a solution
add
to /etc/nginx/conf.d/webmail.inc
add
Code: Select all
location ~* ^/webmail/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
alias /var/lib/roundcube/$1;
}
Code: Select all
location /webmail {
alias /var/lib/roundcube/;
location ~ /(config|temp|logs) {
return 404;
}
location ~ ^/webmail/(.*\.php)$ {
alias /var/lib/roundcube/$1;
fastcgi_pass 127.0.0.1:9000;
fastcgi_index index.php;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $request_filename;
}
location ~* ^/webmail/(.+\.(jpg|jpeg|gif|css|png|js|ico|html|xml|txt))$ {
alias /var/lib/roundcube/$1;
}
}