Setup paperless host and reverse proxy for acme http challange

This commit is contained in:
fi 2023-09-25 01:35:11 +02:00
parent a2855162eb
commit c1e74a4494
Signed by: fi
SSH key fingerprint: SHA256:d+6fQoDPMbSFK95zRVflRKZLRKF4cPSQb7VIxYkhFsA
13 changed files with 184 additions and 3 deletions

View file

@ -0,0 +1,12 @@
{ ... }:
{
services.nginx.virtualHosts."paperless.grzb.de" = {
listen = [{
addr = "0.0.0.0";
port = 80;
}];
locations."^~ /.well-known/acme-challenge/" = {
proxyPass = "http://paperless.wg.grzb.de:80";
};
};
}