Compare commits

...
This repository has been archived on 2024-06-08. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.

1 commit
main ... main

Author SHA1 Message Date
86ae720a2a garage: add reverse proxy for S3 access from outside
TODO: subdomains?
2023-09-18 16:03:29 +02:00

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