LINUX.ORG.RU

История изменений

Исправление beastie, (текущая версия) :

Таки да. Открыть любой туториал, которыми сеть просто завалена и настроить.

Вот тебе простецкий пример для roundcube с nginx+php-fpm:

server {
        listen *:80     default_server;
        listen [::]:80  default_server;
        server_name     .example.com;

        return 301 https://$host$request_uri;
}

server {
        listen *:443 ssl http2;
        listen [::]:443 ssl http2;
        server_name  mail.example.com;

        root         /var/www/roundcubemail;
        index        index.php;

        location ~ /\.ht {
            deny  all;
        }

        add_header Strict-Transport-Security "max-age=31536000";

        location ~ \.php$ {
            try_files      $uri $uri/ =404;
            fastcgi_pass   unix:run/php-fpm.sock;
            fastcgi_index  index.php;
            fastcgi_param  SCRIPT_FILENAME $document_root$fastcgi_script_name;
            include        fastcgi_params;
        }
}

Исходная версия beastie, :

Таки да.