mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-07-16 22:21:55 +08:00
feat: move dandelion-proxy -> immich-proxy
This commit is contained in:
parent
2df9d42672
commit
57b87511d0
1 changed files with 5 additions and 5 deletions
20
modules/services/immich-proxy.nix
Normal file
20
modules/services/immich-proxy.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{
|
||||
services = {
|
||||
nginx.virtualHosts."photos.liv.town" = {
|
||||
forceSSL = true;
|
||||
sslCertificate = "/var/lib/acme/liv.town/cert.pem";
|
||||
sslCertificateKey = "/var/lib/acme/liv.town/key.pem";
|
||||
locations."/" = {
|
||||
# proxyPass = "http://unix:${toString config.services.anubis.instances.librey.settings.BIND}";
|
||||
proxyPass = "http://localhost:2283";
|
||||
proxyWebsockets = true;
|
||||
};
|
||||
extraConfig = ''
|
||||
client_body_buffer_size 1024k;
|
||||
proxy_request_buffering off;
|
||||
proxy_http_version 1.1;
|
||||
proxy_redirect off;
|
||||
'';
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue