ma mycube.connector.one: cleanup

This commit is contained in:
makefu 2021-01-27 23:03:29 +01:00
parent ae3f6ff1ac
commit 2cd994a1be
No known key found for this signature in database
GPG Key ID: 36F7711F3FC0F225

View File

@ -1,15 +1,12 @@
{ config, lib, pkgs, ... }:
# more than just nginx config but not enough to become a module
with import <stockholm/lib>;
let
hostname = config.krebs.build.host.name;
external-ip = config.krebs.build.host.nets.internet.ip4.addr;
wsgi-sock = "${config.services.uwsgi.runDir}/uwsgi.sock";
in {
services.redis = {
enable = true;
};
systemd.services.redis.serviceConfig.LimitNOFILE=10032;
services.redis = { enable = true; };
systemd.services.redis.serviceConfig.LimitNOFILE=65536;
services.uwsgi = {
enable = true;
@ -28,7 +25,7 @@ in {
};
services.nginx = {
enable = mkDefault true;
enable = lib.mkDefault true;
virtualHosts."mybox.connector.one" = {
locations = {
"/".extraConfig = ''