- We have a C# game server deployed to PlayFab multiplayer servers that accepts and manages websocket connections.
- Clients connect to these through NGINX instances running in an Azure VM Scale Set which reverse proxy to a given PlayFab DNS server name and port which gets passed in via the url path. Thus allowing users to use a single URL and port to connect to any PlayFab server/port.
- Clients connect to the NGINX servers through Azure Application Gateways which adds SSL termination, upgrading the requests to SSL and allowing the wss protocol.
Obviously this adds some extra complexity in that we also need to manage auto-scaling of the proxy servers, as well as needing to deploying a proxy server cluster in each region we run game servers (thankfully the added cost isn't a real concern for us), but just wanted to see if anyone who has used PlayFab for longer than the 3 days I have had any more insight into this type of use case. Thanks!