Pydio 8 + nGinx + Letsencrypt

Im using Debin 8 + nGinx + Pydio 8.0.1.

Letsencrypt need access to 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! :smiley:

Mmm, that would be an nginx question… did you google/stackoverflow already? I’ll ask around

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

Can we close the thread then?


Thank you very much