ansible/roles/minecraft/templates/nginx.conf.j2

16 lines
304 B
Plaintext
Raw Normal View History

2019-10-27 23:36:54 +00:00
# {{ ansible_managed }}
server {
listen 80;
listen [::]:80;
server_name {{ ansible_fqdn }};
root {{ minecraft_opt_path }}/backup;
location / {
autoindex on;
auth_basic "Access Restricted";
auth_basic_user_file {{ minecraft_opt_path }}/etc/htpasswd;
}
}