Skip to content

Instantly share code, notes, and snippets.

@omkar0001
Created May 9, 2016 18:29
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save omkar0001/182771ab016b0d892d7f25640793e79c to your computer and use it in GitHub Desktop.
Save omkar0001/182771ab016b0d892d7f25640793e79c to your computer and use it in GitHub Desktop.
location '/.well-known/acme-challenge' {
allow all;
default_type "text/plain";
root /usr/share/nginx/letsencrypt;
try_files $uri /$1;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment