Attached is an nginx configuration file which sets up nginx to be a reverse proxy for the popular Steam Game Distribution platform; essentially creating a local steam cache server. The intent is to allow a large number of gamers to share an inexpensive, and therefore slow, internet connection without having serious problems due to everyone trying to update the same game at the same time (i.e. bandwidth contention issues at LAN parties).
This work is based on the nginx configuration file written for the same purpose by Steven Hartland at Multiplay. However the attached configuration file iterates on the idea in the following ways:
- Tweaked for Ubuntu Linux rather than FreeBSD (can be tweaked to work on FreeBSD again of course). Will probably work on Debian without modification.
- Will cache steam content other than the main depots, such as the big images and videos used on the store and community pages. Will honour source set expiry dates, privacy flags, etc.
- Created a per user bandwidth limit
- Blocked crash reports from being sent to valve
- Ensured that the correct Host header is always returned
Many thanks to Valve for introducing SteamPipe which makes this possible.
Related Software Websites
Extensive testing required – use at your own risk.
The author shall accept no responsibility for any errors, omissions or misleading statements, or for any loss which may arise from reliance on materials contained herein.
There may be links to external Internet sites, and other external Internet sites may link to this website. The author is not responsible for the content of any external Internet sites.
No mention of any organisation, company or individual, whether on these pages or on other sites to which these pages are linked, shall imply any approval or warranty as to the standing and capability of any such organisations, companies or individuals on the part of the author.