mirror of
https://github.com/Ahwxorg/nixos-config.git
synced 2026-02-22 21:05:14 +08:00
feat: proxy services from dandelion through violet to not require vpn for immich
This commit is contained in:
parent
33b7e75120
commit
6895cff885
1 changed files with 14 additions and 0 deletions
14
modules/services/dandelion-proxies.nix
Normal file
14
modules/services/dandelion-proxies.nix
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
{
|
||||||
|
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://172.16.10.130:2283";
|
||||||
|
proxyWebsockets = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
||||||
Loading…
Add table
Add a link
Reference in a new issue