Не получается предоставить доступ к клиентскому по через nginx rivers proxy

Добрый день.

Не могу подключить пользователей, к родному nextcloud клиенту. При добавлении новой учетной записи в клиенте, указываю путь до адреса сервера https://cloud.example.com, далее перебрасывает в браузер – Вход в систему. Прохожу авторизацию, после чего предлагает разрешить доступ к аккаунту, но кнопка “Разрешить доступ” не прожимается.

в логах nextcloud
2020/08/31 10:28:24 [crit] 557#557: *3 connect() to unix:/run/php/php7.2-fpm.sock failed (2: No
such file or directory) while connecting to upstream, client: 192.168.1.1, server:
cloud.example.com, request: “GET /ocs/v2.php/apps/notifications/api/v2/notifications
HTTP/1.0”, upstream: “fastcgi://unix:/run/php/php7.2-fpm.sock:”, host: “cloud.example.com

конфигурация nginx на сервере c rivers proxy
server {
server_name cloud.domain.com;

  location / {
      proxy_http_version 1.1;
      proxy_set_header Upgrade $ http_upgrade;
      proxy_set_header Connection "upgrade";
      proxy_set_header Host $ http_host;
      proxy_set_header X-Real-IP $ remote_addr;
      proxy_set_header X-Forward-For $ proxy_add_x_forwarded_for;
      proxy_set_header X-Forward-Proto http;
      proxy_set_header X-Nginx-Proxy true;
      proxy_temp_file_write_size 64k;
      proxy_connect_timeout 10080s;
      proxy_send_timeout 10080;
      proxy_read_timeout 10080;
      proxy_buffer_size 64k;
      proxy_buffers 16 32k;
      proxy_busy_buffers_size 64k;
      proxy_redirect off;
      proxy_request_buffering off;
      proxy_buffering off;
      proxy_pass http://10.10.10.14/ ;

}

конфигурация nginx на сервере c nextcloud
server {
listen 80;
listen [::]:80;
server_name cloud.example.com;
root /var/www/html/cloud.example.com;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection “1; mode=block”;
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
add_header Referrer-Policy no-referrer;
client_max_body_size 500M;
fastcgi_buffers 64 4K;
location / {
rewrite ^ /index.php$uri;
}
location ~ ^/(?:build|tests|config|lib|3rdparty|templates|data)/ {
deny all;
}
location ~ ^/(?:.|autotest|occ|issue|indie|db_|console) {
deny all;
}
location = /.well-known/carddav {
return 301 $scheme://$host:$server_port/remote.php/dav;
}
location = /.well-known/caldav {
return 301 $scheme://$host:$server_port/remote.php/dav;
}
location ~ ^/(?:index|remote|public|cron|core/ajax/update|status|ocs/v[12]|updater/.+|ocs-provider/.+).php(?:$|/) {
fastcgi_split_path_info ^(.+.php)(/.*)$;
include fastcgi_params;
fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name;
fastcgi_param PATH_INFO $fastcgi_path_info;
#fastcgi_param HTTPS on;
#Avoid sending the security headers twice
fastcgi_param modHeadersAvailable true;
fastcgi_param front_controller_active true;
fastcgi_pass unix:/run/php/php7.2-fpm.sock;
fastcgi_intercept_errors on;
fastcgi_request_buffering off;
}
location ~ ^/(?:updater|ocs-provider)(?:$|/) {
try_files $uri/ =404;
index index.php;
}
location ~ .(?:css|js|woff|svg|gif)$ {
try_files $uri /index.php$uri$is_args$args;
add_header Cache-Control “public, max-age=15778463”;
add_header X-Content-Type-Options nosniff;
add_header X-XSS-Protection “1; mode=block”;
add_header X-Robots-Tag none;
add_header X-Download-Options noopen;
add_header X-Permitted-Cross-Domain-Policies none;
}
location ~ .(?:png|html|ttf|ico|jpg|jpeg)$ {
try_files $uri /index.php$uri$is_args$args;
access_log off;
}
}