nginx + forgejo + some content on zospace
This commit is contained in:
parent
68de124dfd
commit
f8b22b6a5d
3 changed files with 42 additions and 12 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ pkgs, ...}:
|
||||
{ pkgs, ... }:
|
||||
{
|
||||
imports = [
|
||||
/etc/nixos/modules/nix.nix
|
||||
|
|
@ -7,10 +7,13 @@
|
|||
/etc/nixos/modules/ssl.nix
|
||||
/etc/nixos/modules/ssh.nix
|
||||
/etc/nixos/modules/tailscale.nix
|
||||
/etc/nixos/modules/sops.nix
|
||||
/etc/nixos/modules/ipfs
|
||||
|
||||
./hardware-configuration.nix
|
||||
./bootloader.nix
|
||||
./nginx.nix
|
||||
./forgejo.nix
|
||||
./user.nix
|
||||
];
|
||||
|
||||
|
|
@ -30,16 +33,5 @@
|
|||
pkgs.direnv
|
||||
];
|
||||
|
||||
security.acme.acceptTerms = true;
|
||||
services.nginx.enable = true;
|
||||
services.nginx.virtualHosts = {
|
||||
"zospace.freeboxos.fr" = {
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
locations."/".root = "/var/www/zospace.freeboxos.fr/";
|
||||
};
|
||||
};
|
||||
networking.firewall.allowedTCPPorts = [ 80 443 ];
|
||||
|
||||
system.stateVersion = "26.05";
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue