location /route/ { proxy_pass http://127.0.0.1:9000/; }
server { listen 80; // port to listen on server_name <server_name>; // port to return/redirect to: return 443 https://$server_name$request_uri; }