inital commit
This commit is contained in:
8
templates/nginx/restrict-auth.conf
Normal file
8
templates/nginx/restrict-auth.conf
Normal file
@@ -0,0 +1,8 @@
|
||||
{% if "y" == auth_enabled %}
|
||||
satisfy any;
|
||||
allow 127.0.0.1;
|
||||
allow ::1;
|
||||
deny all;
|
||||
auth_basic "Restricted Content";
|
||||
auth_basic_user_file /etc/nginx/passwdfile;
|
||||
{% endif %}
|
2
templates/updateDuckDNS
Normal file
2
templates/updateDuckDNS
Normal file
@@ -0,0 +1,2 @@
|
||||
#!/bin/sh
|
||||
curl -I https://duckdns.org/update/{{ duck_domain }}/{{ duck_token }}
|
Reference in New Issue
Block a user