Skip to content


Browse files Browse the repository at this point in the history
doc: Support use of Apache (#40)
  • Loading branch information
Tyler Schwend committed Dec 28, 2020
1 parent e99ecd6 commit 578a7bc
Showing 1 changed file with 32 additions and 2 deletions.
34 changes: 32 additions & 2 deletions
Expand Up @@ -57,7 +57,7 @@ Setting up the server

1. Install Python 3 and pip:

pacman -S python python-pip
# OR:
apt-get install python3 python3-pip
Expand Down Expand Up @@ -96,10 +96,40 @@ Setting up the server
uwsgi_pass ...;

Setting up the server (Apache version)

If you wish to use Apache to host the master server, do steps 1-2, 4, above. Additionally install/enable mod_wsgi and an Apache site config like the following:

# This config assumes you have the master-server at DocumentRoot.
# Visitors to the server list in this config would visit http://local.server/ and
# apache would serve up the output from Static resources would be served
# from http://local.server/static.

# Where are the minetest-server files located?
DocumentRoot /var/games/minetest/master-server

# Serve up at the root of the URL.
WSGIScriptAlias / /var/games/minetest/master-server/

# The name of the function that we call when we invoke
WSGICallableObject app

# These options are necessary to enable Daemon mode. Without this, you'll have strange behavior
# with servers dropping off your list! You can tweak threads as needed. See mod_wsgi documentation.
WSGIProcessGroup minetest-master-server
WSGIDaemonProcess minetest-master-server threads=2

<Directory /var/games/minetest/master-server>
Require all granted



The Minetest master server is licensed under the GNU Lesser General Public
License version 2.1 or later (LGPLv2.1+). A LICENSE.txt file should have been
supplied with your copy of this software containing a copy of the license.

0 comments on commit 578a7bc

Please sign in to comment.