Veiote
#1
Im using Debin 8 + nGinx + Pydio 8.0.1.
Letsencrypt need access to domain.com/.well-known/acme-challenge/empty.dir to authorization the domain, but due to the configuration that Pydio needs, it blocks the path:
if (!-e $request_filename){
rewrite ^(.*)$ /index.php break;
}
Does anyone know how to create an exception for the path /.well-known/acme-challenge/empty.dir ?
Thanks for any help! 
charles
#2
Mmm, that would be an nginx question… did you google/stackoverflow already? I’ll ask around
Veiote
#3
I found the problem, the directive if dont work correctaly in some cases (If Is Evil).
Im using try_files:
location / {
try_files $uri $uri/ @rewrite;
}
location @rewrite {
rewrite ^(.*)$ /index.php last;
}
1 Like
charles
#4
Can we close the thread then?