minecraft/templates/map.nginx.conf.j2
author Luke Hoersten <luke@hoersten.org>
Sat, 15 Aug 2020 17:54:09 -0500
changeset 133 effd8e58a796
parent 125 5a298f7b44f5
permissions -rw-r--r--
Added certbot dns cloudflare role. Useful for when ISP blocks port 80.

server {
    listen {{nginx_port}};
    server_name {{nginx_server_name}};
    root {{nginx_root_dir}};

    index index.html;

    location / {
        try_files $uri $uri/ =404;
    }
}