fix: restore immich access
This commit is contained in:
@@ -61,9 +61,10 @@ in
|
|||||||
};
|
};
|
||||||
gitea-runner = {
|
gitea-runner = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraLabels = [
|
labels = [
|
||||||
"vps:host"
|
"vps:host"
|
||||||
"blog:host"
|
"blog:host"
|
||||||
|
"nixos-linode:host"
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
home = false;
|
home = false;
|
||||||
@@ -182,6 +183,8 @@ in
|
|||||||
use_backend next if { req_ssl_sni -i next.thehellings.com }
|
use_backend next if { req_ssl_sni -i next.thehellings.com }
|
||||||
use_backend matrix if { hdr(host) -i matrix.thehellings.com }
|
use_backend matrix if { hdr(host) -i matrix.thehellings.com }
|
||||||
use_backend matrix if { req_ssl_sni -i matrix.thehellings.com }
|
use_backend matrix if { req_ssl_sni -i matrix.thehellings.com }
|
||||||
|
use_backend immich if { hdr(host) -i immich.thehellings.com }
|
||||||
|
use_backend immich if { req_ssl_sni -i immich.thehellings.com }
|
||||||
use_backend web if { hdr(host) -i thehellings.com }
|
use_backend web if { hdr(host) -i thehellings.com }
|
||||||
use_backend web if { req_ssl_sni -i thehellings.com }
|
use_backend web if { req_ssl_sni -i thehellings.com }
|
||||||
|
|
||||||
@@ -196,6 +199,14 @@ in
|
|||||||
server git-jeremiah jeremiah.thehellings.lan:80
|
server git-jeremiah jeremiah.thehellings.lan:80
|
||||||
server git-zeke zeke.thehellings.lan:80
|
server git-zeke zeke.thehellings.lan:80
|
||||||
|
|
||||||
|
backend immich
|
||||||
|
mode http
|
||||||
|
balance roundrobin
|
||||||
|
option accept-unsafe-violations-in-http-response
|
||||||
|
retries 3
|
||||||
|
option forwardfor
|
||||||
|
server immich-proxy 127.0.0.1:${builtins.toString config.services.immich-public-proxy.port}
|
||||||
|
|
||||||
backend matrix
|
backend matrix
|
||||||
mode http
|
mode http
|
||||||
balance roundrobin
|
balance roundrobin
|
||||||
@@ -229,7 +240,7 @@ in
|
|||||||
|
|
||||||
immich-public-proxy = {
|
immich-public-proxy = {
|
||||||
enable = true;
|
enable = true;
|
||||||
immichUrl = "https://immich.shire-zebra.ts.net";
|
immichUrl = "http://immich.k3s.thehellings.lan";
|
||||||
};
|
};
|
||||||
|
|
||||||
logrotate = {
|
logrotate = {
|
||||||
|
|||||||
Reference in New Issue
Block a user