commit | edf35f8823e08707e6f13191d57ddac6c96d8168 | [log] [tgz] |
---|---|---|
author | Michael Kutý <6du1ro.n@gmail.com> | Sat Dec 05 15:34:40 2015 +0100 |
committer | Michael Kutý <6du1ro.n@gmail.com> | Sat Dec 05 15:34:40 2015 +0100 |
tree | ffbb35c8c34aa69d4a234bd221328f432bd35fca | |
parent | 0f1c5157001867bbdd217d0b3e751c134798c957 [diff] |
Add letsencrypt endpoint helper.
diff --git a/nginx/files/_letsencrypt.conf b/nginx/files/_letsencrypt.conf new file mode 100644 index 0000000..94ca952 --- /dev/null +++ b/nginx/files/_letsencrypt.conf
@@ -0,0 +1,6 @@ +location /.well-known/acme-challenge/ { + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header Host $http_host; + proxy_redirect off; + proxy_pass http://{{ site.host.name }}:9999/.well-known/acme-challenge/; +} \ No newline at end of file