server { listen 443 ssl; server_name kosync.example.com; ssl_certificate /etc/letsencrypt/live/example.com/fullchain.pem; # managed by Certbot ssl_certificate_key /etc/letsencrypt/live/example.com/privkey.pem; # managed by Certbot access_log /var/log/nginx/kosync_access.log; error_log /var/log/nginx/kosync_error.log; location / { proxy_pass http://localhost:3003; } }