diff --git a/nginx/auth-basic.conf b/nginx/auth-basic.conf new file mode 100644 index 0000000..df30e7e --- /dev/null +++ b/nginx/auth-basic.conf @@ -0,0 +1,7 @@ +server { + server_name example.com; + auth_basic "Log in to continue:" ; + auth_basic_user_file /etc/nginx/myusers ; + location / { + } +} diff --git a/nginx/certbot.cron b/nginx/certbot.cron new file mode 100644 index 0000000..133b301 --- /dev/null +++ b/nginx/certbot.cron @@ -0,0 +1,2 @@ +0 0 1 * * certbot --nginx renew +