minecraft/server/templates/map.nginx.conf.j2
author Luke Hoersten <luke@hoersten.org>
Sat, 10 Sep 2022 14:52:58 -0500
changeset 193 fd46c0e68c2c
parent 156 ebd8a21a0e62
permissions -rw-r--r--
Initial octoprint role.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
125
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     1
server {
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     2
    listen {{nginx_port}};
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     3
    server_name {{nginx_server_name}};
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     4
    root {{nginx_root_dir}};
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     5
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     6
    index index.html;
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     7
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     8
    location / {
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
     9
        try_files $uri $uri/ =404;
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    10
    }
5a298f7b44f5 Added dynmap to minecraft.
Luke Hoersten <luke@hoersten.org>
parents:
diff changeset
    11
}