Browse Source

Fix challenges dir

master
Adrian Heine 3 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",
format!(
"location ^~ /.well-known/acme-challenge/ {{
alias {}/challenges/;
alias {}/;
try_files $uri =404;
}}",
self.acme_factory.get_challenges_dir().to_str().unwrap()

Loading…
Cancel
Save