server { listen 10.8.0.1:443 ssl http2; #listen [::]:443 ssl http2; server_name board.ins; ssl_certificate /etc/nginx/ssl/board-ins.chain.crt; ssl_certificate_key /etc/nginx/ssl/board-ins.key.pem; location / { proxy_pass http://localhost:3121; } location /api { proxy_pass http://localhost:3892; } }