Commit b0a0d9ce authored by omega8cc's avatar omega8cc

Nginx: Add letsencrypt support (work in progress)

parent 4d9324de
......@@ -75,6 +75,13 @@ if ( $request_method !~ ^(?:GET|HEAD|POST|PUT|DELETE|OPTIONS)$ ) {
if ($is_denied) {
return 403;
}
###
### Support for letsencrypt.org per https://tools.ietf.org/html/rfc5785.
###
location ^~ /.well-known/acme-challenge/ {
try_files $uri 404;
}
<?php endif; ?>
<?php if ($satellite_mode == 'boa'): ?>
......
......@@ -143,6 +143,13 @@ location ^~ /<?php print $subdir; ?> {
if ($is_denied) {
return 403;
}
###
### Support for letsencrypt.org per https://tools.ietf.org/html/rfc5785.
###
location ^~ /<?php print $subdir; ?>/.well-known/acme-challenge/ {
try_files $uri 404;
}
<?php endif; ?>
###
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment