Nextcloud snap: reverse proxy causes login page to fail to load

So, I recently got the Nextcloud snap up and running, but I have an Nginx server and I need to put Nextcloud behind it. I changed the ports and configured the proxy, but whenever I go to my domain (cloud.the-gdn.net) the login page fails to fully load. For the life of me I can’t figure out why. Using snap logs nextcloud doesn’t yield anything, nor is anything shown in my reverse proxy’s error logs. I have my reverse proxy configured like this:

server {
    listen                  443 ssl http2;
    listen                  [::]:443 ssl http2;
    server_name             cloud.the-gdn.net;
    root                    /dev/null;

    # SSL
    ssl_certificate         /etc/letsencrypt/live/cloud.the-gdn.net/fullchain.pem;
    ssl_certificate_key     /etc/letsencrypt/live/cloud.the-gdn.net/privkey.pem;
    ssl_trusted_certificate /etc/letsencrypt/live/cloud.the-gdn.net/chain.pem;
# Logging
error_log /var/log/nginx/cloud.the-gdn.net.error.log warn;
access_log /var/log/nginx/cloud.the-gdn.net.access.log;
    location / {
    proxy_set_header X-Forwarded-For $proxy_protocol_addr; # To forward the original client's IP address 
    proxy_set_header X-Forwarded-Proto $scheme; # to forward the  original protocol (HTTP or HTTPS)
    proxy_set_header Host $host; # to forward the original host requested by the client
proxy_hide_header X-Content-Type-Options;
add_header X-Content-Type-Options "" always;
proxy_pass https://127.0.0.1:11112;
}
# DAV setup
location /.well-known/carddav {
    return 301 $scheme://$host/remote.php/dav;
}
location /.well-known/caldav {
    return 301 $scheme://$host/remote.php/dav;
}
# Additional config
    include nginxconfig.io/general.conf;
}
# HTTP redirect
server {
    listen      80;
    listen      [::]:80;
    server_name cloud.the-gdn.net;
    include     nginxconfig.io/letsencrypt.conf;
    location / {
        return 301 https://the-gdn.net$request_uri;
    }
}

Changing:

        return 301 https://the-gdn.net$request_uri;

to

        return 301 https://cloud.the-gdn.net$request_uri;

also doesn’t work. I added 127.0.0.1 to trusted_proxies – I figured that that would be the IP addr of the proxy connection since they’re all on the same machine. Am I missing something?