mirror of
https://git.lgmrszd.xyz/Lgmrszd/nix-cfg.git
synced 2024-11-22 03:07:56 +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 = {
|
services.nginx = {
|
||||||
enable = true;
|
enable = true;
|
||||||
virtualHosts."gtnh.lgm.6dcdb488.nip.io" = {
|
virtualHosts."gtnh.lgm.6dcdb488.nip.io" = {
|
||||||
|
# addSSL = true;
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
root = "/var/www/gtnh";
|
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;
|
programs.mosh.enable = true;
|
||||||
|
|
||||||
environment.systemPackages = with pkgs; [
|
environment.systemPackages = with pkgs; [
|
||||||
|
|
Loading…
Reference in a new issue