server { listen 443 ssl http2; server_name nextcloud.server.tld; #access_log /var/log/nginx/nextcloud.server.tld.access; error_log /var/log/nginx/nextcloud.server.tld.error; charset utf-8; location / { proxy_pass http://127.0.0.1:8443; } #include config/gzip.conf; # Wildcard certificate config #include ssl/server.tld.conf; }