Skip to content

Instantly share code, notes, and snippets.

View jlm's full-sized avatar

John Messenger jlm

View GitHub Profile
@jlm
jlm / Screen Shot 2017-06-04 at 22.47.12.png
Last active June 6, 2017 21:40
How to have Emoncms on Raspberry keep its root on an iSCSI target
Screen Shot 2017-06-04 at 22.47.12.png
@jlm
jlm / nginx.tmpl.patch
Created August 13, 2018 15:02
Patch nginx.tmpl from jwilder/nginx-proxy and JrCs/docker-letsencrypt-nginx-proxy-companion to allow expired certificates to renew
--- nginx.tmpl 2017-12-29 08:56:32.000000000 -0700
+++ nginx.tmpl 2017-12-29 08:56:32.000000000 -0700
@@ -193,7 +193,18 @@
listen [::]:80 {{ $default_server }};
{{ end }}
access_log /var/log/nginx/access.log vhost;
- return 301 https://$host$request_uri;
+
+ location /.well-known/acme-challenge/ {
+ auth_basic off;