Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Nginx config to redirect to differing lobby depending on header version
Adds an NGINX config that checks the 'triplea-version' header value, and based on that value redirects. To support running multiple servers on the same host, we need to parameterize the lobby server to be able to inject port number. The end goal is we can have multiple lobbies running on the same host, different port numbers, and clients will be redirected to the correct lobby based on version number in header.
- Loading branch information
1 parent
860ed08
commit f68abbe
Showing
8 changed files
with
40 additions
and
16 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,5 @@ | ||
Install dropwizard http server and lobby application | ||
# Lobby Server | ||
|
||
Installs the lobby server. We run lobby versions parallel to one another on different port numbers. | ||
This allows us to run multiple lobbies on the same host. Further, we have magic config in nginx | ||
to redirect to the correct server instance based on the `triplea-version` header value. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters