Merge pull request 'garage: add reverse proxy for S3 access from outside' (#2) from linus/newtype-org-configurations:main into main

Reviewed-on: https://git.newtype.fr/newtype/newtype-org-configurations/pulls/2
This commit is contained in:
Ryan Lahfa 2023-09-22 16:26:06 +02:00
commit 5a5e8d31db

View file

@ -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 ];
} }