refactor(flake)!: machines
-> hosts
This commit is contained in:
parent
703cd0264b
commit
a881c5d7e1
33 changed files with 52 additions and 45 deletions
32
hosts/nixos/x86_64-linux/jeeves/nginx.nix
Normal file
32
hosts/nixos/x86_64-linux/jeeves/nginx.nix
Normal file
|
@ -0,0 +1,32 @@
|
|||
{ inputs, outputs, lib, pkgs, config, ... }:
|
||||
|
||||
{
|
||||
# age.secrets."nextcloud.adminpass" = {
|
||||
# rekeyFile = "${inputs.self}/secrets/home/jeeves/nextcloud/adminpass.age";
|
||||
# mode = "770";
|
||||
# owner = "nextcloud";
|
||||
# group = "nextcloud";
|
||||
# };
|
||||
|
||||
environment.systemPackages = [
|
||||
# config.services.nextcloud.package
|
||||
];
|
||||
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
|
||||
services.nginx = {
|
||||
enable = true;
|
||||
package = pkgs.openresty;
|
||||
# virtualHosts."_.${config.networking.hostName}.local" = {
|
||||
# # listen = [
|
||||
# # {
|
||||
# # addr = "127.0.0.1";
|
||||
# # port = 1234;
|
||||
# # }
|
||||
# # ];
|
||||
# enableACME = false;
|
||||
# forceSSL = false;
|
||||
# locations."/".proxyPass = "http://127.0.0.1:1234";
|
||||
# };
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue