upstream code-server { server code-server:8080; } server { listen 443 ssl http2; server_name code.gbanyan.net; #include /etc/nginx/conf.d/common.conf; include /etc/nginx/conf.d/ssl.conf; include /etc/nginx/conf.d/proxy_code_server.conf; location / { proxy_pass http://code-server; #include /etc/nginx/conf.d/common_location.conf; } }