mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2024-11-25 12:28:55 +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,9 +30,30 @@
|
|||
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;
|
||||
|
||||
|
|
Loading…
Reference in a new issue