You call this high-maintenance: ??
server {
listen 80;
server_name mydomain.com;
location / { rewrite ^ https://$http_host$request_uri? permanent; }
}
server {
listen 80;
server_name mydomain.com;
location / { rewrite ^ https://$http_host$request_uri? permanent; }
}