server { listen 443 ssl; listen [::]:443 ssl; server_name water-api.example.com; location / { proxy_pass http://localhost:8888; } }