diff options
author | makefu <github@syntax-fehler.de> | 2016-12-24 23:40:38 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-12-24 23:40:38 +0100 |
commit | dbd2999dc204d339dcc9cccee19af65a91a89d9e (patch) | |
tree | 2b08d02401223f9e752cac38b7e98d58bb195572 /makefu | |
parent | 457e6ade23025fd828f9db793e039ab7fa0757c9 (diff) |
m 1 gum: enable ipv6 (for nginx), krebs.nginx -> services.nginx
Diffstat (limited to 'makefu')
-rw-r--r-- | makefu/1systems/gum.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/makefu/1systems/gum.nix b/makefu/1systems/gum.nix index e8a368fa2..e7761a642 100644 --- a/makefu/1systems/gum.nix +++ b/makefu/1systems/gum.nix @@ -15,6 +15,7 @@ in { ../2configs/git/cgit-retiolum.nix # ../2configs/mattermost-docker.nix ../2configs/nginx/euer.test.nix + ../2configs/nginx/public_html.nix ../2configs/nginx/update.connector.one.nix ../2configs/deployment/mycube.connector.one.nix @@ -31,7 +32,9 @@ in { ]; services.smartd.devices = [ { device = "/dev/sda";} ]; + ###### stable + services.nginx.virtualHosts.cgit.serverAliases = [ "cgit.euer.krebsco.de" ]; krebs.build.host = config.krebs.hosts.gum; krebs.tinc.retiolum = { extraConfig = '' @@ -48,10 +51,6 @@ in { makefu.taskserver.enable = true; - krebs.nginx.servers.cgit = { - server-names = [ "cgit.euer.krebsco.de" ]; - listen = [ "${external-ip}:80" "${internal-ip}:80" ]; - }; # access users.users = { @@ -76,9 +75,8 @@ in { services.udev.extraRules = '' SUBSYSTEM=="net", ATTR{address}=="c8:0a:a9:c8:ee:dd", NAME="et0" ''; - boot.kernelParams = [ "ipv6.disable=1" ]; + boot.kernelParams = [ ]; networking = { - enableIPv6 = false; firewall = { allowPing = true; logRefusedConnections = false; |