mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2024-12-22 16:09:50 +01:00
Enable SSL, add more vhosts
This commit is contained in:
parent
a26c8af6cf
commit
895d85c1db
1 changed files with 21 additions and 0 deletions
|
@ -30,10 +30,31 @@
|
|||
services.nginx = {
|
||||
enable = true;
|
||||
virtualHosts."gtnh.lgm.6dcdb488.nip.io" = {
|
||||
# addSSL = true;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
root = "/var/www/gtnh";
|
||||
};
|
||||
virtualHosts."akko.testdrive.lgm.6dcdb488.nip.io" = {
|
||||
# addSSL = true;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
root = "/var/www/todo";
|
||||
};
|
||||
virtualHosts."ice.testdrive.lgm.6dcdb488.nip.io" = {
|
||||
# addSSL = true;
|
||||
forceSSL = true;
|
||||
enableACME = true;
|
||||
root = "/var/www/todo";
|
||||
};
|
||||
};
|
||||
|
||||
security.acme = {
|
||||
acceptTerms = true;
|
||||
defaults.email = "lgmrszd@disroot.org";
|
||||
};
|
||||
|
||||
|
||||
programs.mosh.enable = true;
|
||||
|
||||
environment.systemPackages = with pkgs; [
|
||||
|
|
Loading…
Reference in a new issue