Roundcube Community Forum

 

Web interface partially broken with nginx

Started by koipen, September 23, 2015, 05:48:41 AM

Previous topic - Next topic

koipen

Web interface is partially broken for me with freshly installed Roundcube 1.1.2 and nginx 1.9.4 + php-fpm 5.6.13.
I can login, view emails and do most basic stuff.
When I open "About", I see and empty box.
If I visit Settings and click "User interface" for example, I see external "Loading..." animation on bottom right.
Same eternal "Sending message..." when I try to send an email (but it actually reaches its destination).

% cat sites-available/roundcube
server {
    include /etc/nginx/include/ssl.conf;
    include /etc/nginx/include/ssl-mydomain.conf;

    server_name  mail.mydomain.com;

    root  /var/www/roundcube;

    index index.php;

    location ~ ^/(README.md|INSTALL|LICENSE|CHANGELOG|UPGRADING)$ {
        deny all;
    }

    location ~ /\. {
        deny all;
        access_log off;
        log_not_found off;
    }

    location ~ ^/(config|temp|logs)/ {
        deny all;
    }

    location ~ ^/program/(?!(resources|js)) {
        return 403;
    }

    location ~ ^(.+\.php)(.*)$ {
        try_files $fastcgi_script_name =404;
        fastcgi_split_path_info  ^(.+\.php)(.*)$;
        fastcgi_pass   unix:/var/run/php5-fpm.sock;
        fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
        fastcgi_param  PATH_INFO        $fastcgi_path_info;
        include        /etc/nginx/fastcgi_params;
    }

    error_page   500 502 503 504  /50x.html;
    location = /50x.html {
        root   /var/www/nginx-default;
    }
}


I don't see any useful errors in php5-fpm.log...

alec

Search keywords: nginx roundcube x-frame-options

koipen

Thanks, I'm happy now.
How can I move this topic to Resolved issues?