Compare commits

...
This repo is archived. You can view files and clone it, but cannot push or open issues/pull-requests.

1 Commits
main ... main

Author SHA1 Message Date
Linus Heckemann 86ae720a2a garage: add reverse proxy for S3 access from outside
TODO: subdomains?
1 year ago

@ -23,4 +23,15 @@
};
};
};
services.nginx = {
enable = true;
virtualHosts."s3.infra.newtype.fr" = {
forceSSL = true;
enableACME = true;
locations."/".proxyPass = "http://[::1]:3900/";
};
};
networking.firewall.allowedTCPPorts = [ 80 443 ];
}