ma shiori: force ssl
This commit is contained in:
parent
c232f2dc25
commit
911b3c2029
@ -11,7 +11,6 @@
|
|||||||
# if this is not enough, check out main-laptop.nix
|
# if this is not enough, check out main-laptop.nix
|
||||||
|
|
||||||
|
|
||||||
with import <stockholm/lib>;
|
|
||||||
let
|
let
|
||||||
mainUser = config.krebs.build.user.name;
|
mainUser = config.krebs.build.user.name;
|
||||||
in
|
in
|
||||||
@ -39,7 +38,7 @@ in
|
|||||||
};
|
};
|
||||||
environment.systemPackages = [ pkgs.gnome3.defaultIconTheme ];
|
environment.systemPackages = [ pkgs.gnome3.defaultIconTheme ];
|
||||||
# lid switch is handled via button presses
|
# lid switch is handled via button presses
|
||||||
services.logind.lidSwitch = "ignore";
|
services.logind.lidSwitch = lib.mkDefault "ignore";
|
||||||
makefu.awesome.enable = true;
|
makefu.awesome.enable = true;
|
||||||
i18n.consoleFont = "Lat2-Terminus16";
|
i18n.consoleFont = "Lat2-Terminus16";
|
||||||
|
|
||||||
|
@ -18,7 +18,12 @@ in {
|
|||||||
PrivateTmp = true;
|
PrivateTmp = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
services.nginx.virtualHosts."bookmark.euer.krebsco.de".locations."/" = {
|
services.nginx.virtualHosts."bookmark.euer.krebsco.de" = {
|
||||||
|
forceSSL = true;
|
||||||
|
enableACME = true;
|
||||||
|
|
||||||
|
locations."/" = {
|
||||||
proxyPass = "http://127.0.0.1:${toString web_port}/";
|
proxyPass = "http://127.0.0.1:${toString web_port}/";
|
||||||
};
|
};
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user