Browse Source

Fix challenges dir

master
Adrian Heine 5 years ago
parent
commit
3958645df0
  1. 2
      src/symbols/factory.rs

2
src/symbols/factory.rs

@ -78,7 +78,7 @@ impl<'b, C: 'b + CommandRunner, P: 'b + Policy> SymbolFactory<'b, C, P> {
"/etc/nginx/snippets/acme-challenge.conf", "/etc/nginx/snippets/acme-challenge.conf",
format!( format!(
"location ^~ /.well-known/acme-challenge/ {{ "location ^~ /.well-known/acme-challenge/ {{
alias {}/challenges/;
alias {}/;
try_files $uri =404; try_files $uri =404;
}}", }}",
self.acme_factory.get_challenges_dir().to_str().unwrap() self.acme_factory.get_challenges_dir().to_str().unwrap()

Loading…
Cancel
Save