src.nth.io/

summaryrefslogtreecommitdiff
path: root/minecraft/templates/map.nginx.conf.j2
diff options
context:
space:
mode:
authorLuke Hoersten <[email protected]>2020-07-27 19:44:18 -0500
committerLuke Hoersten <[email protected]>2020-07-27 19:44:18 -0500
commit9e6b21c278c50431abfcc1e390426a0447eddbf1 (patch)
tree212d72af43ee388809645a508903ebeea13b7ff2 /minecraft/templates/map.nginx.conf.j2
parentacc39b12435f825d7b72d2da8c6c0d02406c223b (diff)
Added dynmap to minecraft.
Diffstat (limited to 'minecraft/templates/map.nginx.conf.j2')
-rw-r--r--minecraft/templates/map.nginx.conf.j211
1 files changed, 11 insertions, 0 deletions
diff --git a/minecraft/templates/map.nginx.conf.j2 b/minecraft/templates/map.nginx.conf.j2
new file mode 100644
index 0000000..a905c9a
--- /dev/null
+++ b/minecraft/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;
+ }
+}