add: nginx
This commit is contained in:
7
nginx/auth-basic.conf
Normal file
7
nginx/auth-basic.conf
Normal file
@@ -0,0 +1,7 @@
|
|||||||
|
server {
|
||||||
|
server_name example.com;
|
||||||
|
auth_basic "Log in to continue:" ;
|
||||||
|
auth_basic_user_file /etc/nginx/myusers ;
|
||||||
|
location / {
|
||||||
|
}
|
||||||
|
}
|
||||||
2
nginx/certbot.cron
Normal file
2
nginx/certbot.cron
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
0 0 1 * * certbot --nginx renew
|
||||||
|
|
||||||
Reference in New Issue
Block a user