src.nth.io/

summaryrefslogtreecommitdiff
path: root/minecraft/server/templates/map.nginx.conf.j2
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2021-07-03 13:23:46 -0500
committerLuke Hoersten <[email protected]>2021-07-03 13:23:46 -0500
commite4482f91ed5ddbaa350c59858e082235720abacc (patch)
tree59e70099ca9f46fe4955e5dd4591ffb4bd356fa7 /minecraft/server/templates/map.nginx.conf.j2
parenta9ae275d8aba40baea6156f073314de70dd49ce3 (diff)
Added minecraft backup.
Diffstat (limited to 'minecraft/server/templates/map.nginx.conf.j2')
-rw-r--r--minecraft/server/templates/map.nginx.conf.j211
1 files changed, 11 insertions, 0 deletions
diff --git a/minecraft/server/templates/map.nginx.conf.j2 b/minecraft/server/templates/map.nginx.conf.j2
new file mode 100644
index 0000000..a905c9a
--- /dev/null
+++ b/minecraft/server/templates/map.nginx.conf.j2
@@ -0,0 +1,11 @@
+server {
+ listen {{nginx_port}};
+ server_name {{nginx_server_name}};
+ root {{nginx_root_dir}};
+
+ index index.html;
+
+ location / {
+ try_files $uri $uri/ =404;
+ }
+}