auth and git
This commit is contained in:
parent
d35531c1bd
commit
2d9feaa634
24 changed files with 787 additions and 16 deletions
29
fili/services/websites/mapf.nix
Normal file
29
fili/services/websites/mapf.nix
Normal file
|
|
@ -0,0 +1,29 @@
|
|||
{flakes,...}: {
|
||||
# imports = [
|
||||
# flakes.mapf.nixosModules.default
|
||||
# ];
|
||||
|
||||
sops.secrets.mapf = {
|
||||
sopsFile = ../../../secrets/mapf-prod.env;
|
||||
};
|
||||
|
||||
services.nginx = {
|
||||
virtualHosts."mapf.donsz.nl" = {
|
||||
forceSSL = true;
|
||||
http2 = true;
|
||||
enableACME = true;
|
||||
|
||||
locations."/" = {
|
||||
proxyPass = "http://[::1]:8080";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# donsz.services.mapf = {
|
||||
# enable = true;
|
||||
# envfile = "/run/secrets/sops/mapf";
|
||||
# db_name = "mapfprod";
|
||||
# db_user = "mapfprod";
|
||||
# db_password = "";
|
||||
# };
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue