ma shiori: force ssl

This commit is contained in:
makefu 2019-09-25 14:54:55 +02:00
parent c232f2dc25
commit 911b3c2029
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225
2 changed files with 7 additions and 3 deletions

View File

@ -11,7 +11,6 @@
# if this is not enough, check out main-laptop.nix
with import <stockholm/lib>;
let
mainUser = config.krebs.build.user.name;
in
@ -39,7 +38,7 @@ in
};
environment.systemPackages = [ pkgs.gnome3.defaultIconTheme ];
# lid switch is handled via button presses
services.logind.lidSwitch = "ignore";
services.logind.lidSwitch = lib.mkDefault "ignore";
makefu.awesome.enable = true;
i18n.consoleFont = "Lat2-Terminus16";

View File

@ -18,7 +18,12 @@ in {
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}/";
};
};
}