server { server_name immich.mydomain.com; listen 8443 ssl; # managed by Certbot listen 443 ssl; # managed by Certbot client_max_body_size 50000M; large_client_header_buffers 4 32k; access_log /var/log/nginx/immich.mydomain.com_access_log main; error_log /var/log/nginx/immich.mydomain.com_error_log info; location / { proxy_pass http://127.0.0.1:2283/; } include com.mydomain/certbot.conf; }