create the nginx cache
This commit is contained in:
parent
b319071299
commit
34254d2dfb
1 changed files with 3 additions and 0 deletions
|
@ -52,6 +52,9 @@
|
|||
proxy_cache_path /var/tmp/nginx levels=1:2 keys_zone=CACHE:10m max_size=10g
|
||||
inactive=60m use_temp_path=off;
|
||||
'';
|
||||
systemd.tmpfiles.rules = [
|
||||
"d /var/tmp/nginx 0700 nginx acme - -"
|
||||
];
|
||||
services.nginx.virtualHosts."chir.rs" = {
|
||||
sslCertificate = "/var/lib/acme/chir.rs/cert.pem";
|
||||
sslCertificateKey = "/var/lib/acme/chir.rs/key.pem";
|
||||
|
|
Loading…
Reference in a new issue