Skip to content

Instantly share code, notes, and snippets.

View spiderneo's full-sized avatar

Baptiste Doré spiderneo

  • France
View GitHub Profile
@spiderneo
spiderneo / le-renew-webroot
Last active July 6, 2016 06:27 — forked from thisismitch/le-renew-webroot
Let's Encrypt Auto-Renewal using the Webroot Plugin (Nginx)
#!/bin/bash
web_service='nginx'
FILES=/usr/local/etc/letsencrypt/*.ini
for f in $FILES
do
echo "Renewing for $f file..."
config_file="$f"