work on photoprism
This commit is contained in:
parent
842b1a3fdc
commit
2d55e1a635
|
@ -13,8 +13,7 @@
|
||||||
hostIP = containerAddresses.host;
|
hostIP = containerAddresses.host;
|
||||||
containerIP = containerAddresses.containers.storage;
|
containerIP = containerAddresses.containers.storage;
|
||||||
|
|
||||||
# 32GB
|
clientMaxBodySize = "${toString (1024 * 128)}M";
|
||||||
clientMaxBodySize = "${toString (1024 * 10)}M";
|
|
||||||
|
|
||||||
ports = import ./data/ports.nix;
|
ports = import ./data/ports.nix;
|
||||||
in {
|
in {
|
||||||
|
|
|
@ -13,8 +13,9 @@
|
||||||
services.nginx.virtualHosts."vaultwarden.owo.monster" = {
|
services.nginx.virtualHosts."vaultwarden.owo.monster" = {
|
||||||
forceSSL = true;
|
forceSSL = true;
|
||||||
enableACME = true;
|
enableACME = true;
|
||||||
locations = {
|
locations."/" = {
|
||||||
"/".proxyPass = "http://127.0.0.1:8222";
|
proxyPass = "http://127.0.0.1:8222";
|
||||||
|
proxyWebsockets = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue