server { listen 443 ssl http2; listen [::]:443 ssl http2; server_name g.* git.*; include snippets/ssl_http; include snippets/wellknown; location / { proxy_pass http://git; } }