Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Verified Commit 57ea69ca authored by Nicolas Gelot's avatar Nicolas Gelot
Browse files

fix(nginx): use docker resolver with limited cache

parent fd8832ba
Loading
Loading
Loading
Loading
Loading
+3 −0
Original line number Diff line number Diff line
@@ -4,6 +4,9 @@ map $arg_v $asset_immutable {
    default ", immutable";
}

# use docker DNS resolver with limited cache value for nc update or scaling
resolver 127.0.0.11 valid=5s;

upstream php-handler {
    server ${NEXTCLOUD_ADDR};
}