Skip to content

Instantly share code, notes, and snippets.

@madbence
Created August 25, 2017 11:56
Show Gist options
  • Save madbence/b970db4cdcd8bccf86c3989dae89a275 to your computer and use it in GitHub Desktop.
Save madbence/b970db4cdcd8bccf86c3989dae89a275 to your computer and use it in GitHub Desktop.
location ~ "^/\.well-known/acme-challenge/([-_a-zA-Z0-9]*)$" {
default_type text/plain;
return 200 "$1.$letsencrypt_account_thumbprint";
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment