Skip to content

An NGINX reverse proxy config for a minecraft server running both java with geyser (bedrock) at the same time

License

Notifications You must be signed in to change notification settings

Racer159/minecraft-reverse-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

Minecraft NGINX Reverse Proxy

This repo contains an NGINX reverse proxy config for a Minecraft server running a java server with geyser enabled (bedrock) at the same time. This is useful if you want to run a small proxy server in the cloud to hide the real IP address of your Minecraft server to add a layer of abstraction for DDOS attempts (the cloud server is likely to go down first and certain cloud providers may be able to detect some forms of DDOS and absorb the traffic).

It could also be useful if you ever needed to perform proxy_passing with both TCP and UDP (non-HTTP traffic) through an NGINX proxy.

To use this in your own setup, replace the following values with your own:

<replace_with_nginx_server_ip> - The IP address of the NGINX server this configuration is installed on
<replace_with_minecraft_server_ip> - The IP address of the Minecraft server that you are proxying to

⚠️ You must have the ngx_stream_core_module and ngx_http_proxy_module modules installed for the stream and proxy pass directives to function! (see this and this respectively)

About

An NGINX reverse proxy config for a minecraft server running both java with geyser (bedrock) at the same time

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published