Skip to content

Commit

Permalink
services: immich: listen through tailscale only
Browse files Browse the repository at this point in the history
  • Loading branch information
alarsyo committed Dec 16, 2023
1 parent 37df6b7 commit cf545bd
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions services/immich.nix
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,20 @@ in {
forceSSL = true;
useACMEHost = fqdn;

listen = [
# FIXME: hardcoded tailscale IP
{
addr = "100.115.172.44";
port = 443;
ssl = true;
}
{
addr = "100.115.172.44";
port = 80;
ssl = false;
}
];

locations."/" = {
proxyPass = "http://127.0.0.1:${toString cfg.port}";
proxyWebsockets = true;
Expand Down

0 comments on commit cf545bd

Please sign in to comment.