Nextcloud version (eg, 10.0.2): 12.0.3
Operating system and version : Ubuntu 16.04
nginx version: nginx/1.10.3 (Ubuntu)
PHP version (eg, 5.6): PHP 7.0.22-0ubuntu0.16.04.1
The issue you are facing:
Hi,
i’ve running nextcloud dockerized. It listens on localhost:8081 and the nginx proxy does a redirect to https://cloud.my.domain
I can access nextcloud but the logo doesn’t appear and when i accept a share from federalcloud id, it is saying “Failed to perform action. Connection to server lost”
I supect the nginx conf, because before i get the SSL Cert it works fine:
upstream lstu {
server 127.0.0.1:8080;
}
upstream next {
server 127.0.0.1:8081;
}
server {
listen 80;
server_name domain.de www.domain.de;
location / {
proxy_pass http://lstu;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
}
listen 443 ssl; # managed by Certbot
ssl_certificate /etc/letsencrypt/live/domain.de/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/domain.de/privkey.pem; # managed by Certbot
include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
if ($scheme != "https") {
return 301 https://$host$request_uri;
} # managed by Certbot
# Redirect non-https traffic to https
# if ($scheme != "https") {
# return 301 https://$host$request_uri;
# } # managed by Certbot
}
server {
listen 80;
server_name cloud.my.domain;
location / {
proxy_pass http://next;
proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
proxy_set_header X-Forwarded-Host $server_name;
}
listen 443 ssl;
ssl_certificate /etc/letsencrypt/live/domain.de/fullchain.pem; # managed by Certbot
ssl_certificate_key /etc/letsencrypt/live/domain.de/privkey.pem; # managed by Certbot
#include /etc/letsencrypt/options-ssl-nginx.conf;
if ($scheme != "https") {
return 301 https://$host$request_uri;
} # managed by Certbot
}
The output of your Nextcloud log in Admin > Logging: NO Output
The output of your Apache/nginx/system log in /var/log/____
: Nothing :-/