mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2026-04-26 06:35:54 +03:00
[GH-ISSUE #538] UT2004: Install Nginx and configure to serve maps/textures? #435
Labels
No labels
Atomic
Epic
cannot reproduce
command: backup
command: console
command: debug
command: details
command: fast-dl
command: install
command: mods
command: monitor
command: post-details
command: restart
command: send
command: start
command: stop
command: update
command: update-lgsm
command: validate
command: wipe
distro: AlmaLinux
distro: Arch Linux
distro: CentOS
distro: Debian
distro: Fedora
distro: RedHat
distro: Rocky Linux
distro: Ubuntu
distro: openSUSE
engine: goldsrc
engine: source
game: 7 Days to Die
game: ARMA 3
game: Ark: Survival Evolved
game: Assetto Corsa
game: Avorion
game: BATTALION: Legacy
game: Barotrauma
game: Battalion 1944
game: Battlefield 1942
game: Black Mesa: Deathmatch
game: Blade Symphony
game: Call of Duty 2
game: Call of Duty 4
game: Call of Duty: United Offensive
game: Counter-Strike 1.6
game: Counter-Strike 2
game: Counter-Strike: Global Offensive
game: Counter-Strike: Source
game: Day of Infamy
game: Dayz
game: Death Match Classic
game: Don't Starve Together
game: ET: Legacy
game: Eco
game: Factorio
game: Factorio
game: Garry's Mod
game: Half-Life
game: Hurtword
game: Insurgecy
game: Insurgecy
game: Insurgency: Sandstorm
game: Just Cause 3
game: Killing Floor
game: Killing Floor 2
game: Left 4 Dead 2
game: Minecraft
game: Minecraft Bedrock
game: Mordhau
game: Multi Theft Auto
game: Mumble
game: Natural Selection 2
game: No More Room in Hell
game: Pavlov VR
game: Post Scriptum
game: Project Zomboid
game: Quake 3
game: QuakeWorld
game: Red Orchestra: Ostfront 41-45
game: Return to Castle Wolfenstein
game: Rising World
game: Rust
game: San Andreas Multiplayer
game: Satisfactory
game: Soldat
game: Soldier of Fortune 2
game: Squad
game: Squad 44
game: Starbound
game: Stationeers
game: Sven Co-op
game: Team Fortress 2
game: Teamspeak 3
game: Teeworlds
game: Terraria
game: The Front
game: Unreal Tournament 2004
game: Unreal Tournament 3
game: Unreal Tournament 99
game: Unturned
game: Valheim
game: Wurm Unlimited
game: Zombie Master Reborn
game: label missing
good first issue
help wanted
info: alerts
info: dependency
info: docker
info: docs
info: email
info: query
info: steamcmd
info: systemd
info: tmux
info: website
info: website
needs more info
outcome: duplicate
outcome: issue resolved
outcome: issue resolved
outcome: issue unresolved
outcome: pr accepted
outcome: pr rejected
outcome: unconfirmed
outcome: wontfix
outcome: wrong forum
potential-duplicate
priority
pull-request
type: bug
type: feature
type: feature
type: feature request
type: game server request
type: refactor
waiting response
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/LinuxGSM#435
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @nicktimko on GitHub (Dec 1, 2015).
Original GitHub issue: https://github.com/GameServerManagers/LinuxGSM/issues/538
The download speeds in UT2004 are a joke, especially nowadays. The solution is to redirect download requests to another HTTP server. Could I add an option during install that would have a local Nginx serve the Maps, Textures, Music, Sounds, etc. folders or would that be outside the scope?
@dgibbs64 commented on GitHub (Dec 9, 2015):
That's an interesting idea becuase you can have the same issue on source servers. It could be an install option to allow a standalone lightweight webserver be installed and use a non standard port then the config will point fastdl to it. I certainly like the idea. My time is extremely limited currently so don't except this feature from me anytime soon. If you have the expertise to implement this idea I'm happy to review and merge this.
@nicktimko commented on GitHub (Dec 9, 2015):
Is using sudo/root a no-go; i.e. would I have to
sudo apt-get install nginx) and/or@andreblue commented on GitHub (Dec 12, 2015):
You could look at serving them thru php. The cli has a built in web server or even python
https://wiki.python.org/moin/WebServers
@jaredballou commented on GitHub (Dec 26, 2015):
My opinion here is that this feature is outside the scope of the LGSM core use case, and therefore I am by default opposed to it until I can see a good reason to expand the program. Is it something a lot of users would use, probably, but we have to determine if the usefulness and ability imparted by this feature are worth the greatly increased complexity and security/stability profile.
My suggestion would be having an external tool for this if we tackle it at all, because when one sits back and actually looks at the scope of a tool like this, it quickly becomes overwhelming.
That's just off the top of my head, I'm sure there are more. This is a major undertaking that is deceptively simple, and opens up a whole new can of worms in regards to the things it can potentially break, and the risk of using the tool in terms of security and encapsulation of functionality.
My vote would be to forego this entirely and point at a third-party source of information that our users can reference to set these things up on their own, rather than take it on to an already overwhelming todo list.
@nicktimko commented on GitHub (Dec 27, 2015):
config.inifile with passwords, the Nginx conf could be set to exclude such files)config.inimentioned above would need to be considered by developers that add the FastDL/redirection functionality in for each game that can use it. Nginx's configuration is quite flexible and can include/exclude files based on regex. The increased instantaneous bandwidth might make it easier to DoS, but game servers seem easy to DoS anyways. Nginx has rate-limiting options if need be.1.2.3.4:5678could redirect to1.2.3.4:8080/5678/...).nginxon the path, it will ask you if you want to use it for game content downloading. If you say "yes", then it will:./server start@dgibbs64 commented on GitHub (Dec 27, 2015):
I agree with @jaredballou with making this a separate project in itself or some sort of addon. I know that source engine servers would also benefit from this feature. Even with source servers quite a lot of FastDL is being super seeded by Steam Workshop.
I could see how a separate script that could grab, compress and move the files to a dir and have an nginx webserver on its own port could work well. LGSM has a compression feature for UT99 & UT2K4 in place that already compresses all maps in to another dir. Maybe this could be modified to move the maps to a dir of choosing that is running an nginx instance.
Also being a separate project people who dont use LGSM could benefit from it.
I can see @nicktimko has a clear idea on how this could be implemented. But @jaredballou makes some good points on how this feature could become a large undertaking in itself.
So with that in mind I definitely recommend @nicktimko work on a project that can achieve this as de-coupled but maybe compatible with LGSM. It could become the first LGSM add-on.
At the very least it would be good to have documentation written and available on the wiki for users who wish to implement this feature on there own using the ut map compressor. I could even point users to the documentation on the main website.
@jaredballou commented on GitHub (Jan 6, 2016):
This is a good idea, and being broken off as its own tool would be a good idea. I definitely see the value in something like this, if we want to write up a spec and start looking at what it would take to put it together I'm game.
@dgibbs64 commented on GitHub (Jul 12, 2016):
I am closing this as no update. No action required to be taken by LGSM devs
@lock[bot] commented on GitHub (Jul 19, 2018):
This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.