diff options
author | makefu <github@syntax-fehler.de> | 2016-03-19 23:37:27 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-03-19 23:37:27 +0100 |
commit | d6958d32c0a32aeea2f7d0b774bcba00da061149 (patch) | |
tree | 2d69b899b08e42a8151865c3c9523dc034b93f48 /makefu/1systems | |
parent | 4143f1d6ec196353918a69b60b24249a44aba116 (diff) |
ma 1 add more nginx
Diffstat (limited to 'makefu/1systems')
-rw-r--r-- | makefu/1systems/gum.nix | 7 | ||||
-rw-r--r-- | makefu/1systems/pornocauster.nix | 6 |
2 files changed, 9 insertions, 4 deletions
diff --git a/makefu/1systems/gum.nix b/makefu/1systems/gum.nix index 2ddd2dccc..710421659 100644 --- a/makefu/1systems/gum.nix +++ b/makefu/1systems/gum.nix @@ -41,9 +41,10 @@ in { ]; }; - krebs.nginx.servers.cgit.server-names = [ - "cgit.euer.krebsco.de" - ]; + krebs.nginx.servers.cgit = { + server-names = [ "cgit.euer.krebsco.de" ]; + listen = [ "${external-ip}:80" "${internal-ip}:80" ]; + }; # access users.users = { diff --git a/makefu/1systems/pornocauster.nix b/makefu/1systems/pornocauster.nix index 119f0e5e4..88c187758 100644 --- a/makefu/1systems/pornocauster.nix +++ b/makefu/1systems/pornocauster.nix @@ -36,7 +36,11 @@ #../2configs/wordpress.nix ../2configs/nginx/public_html.nix ]; - + krebs.nginx = { + default404 = false; + servers.default.listen = [ "80 default_server" ]; + servers.default.server-names = [ "_" ]; + }; krebs.retiolum.enable = true; # steam hardware.opengl.driSupport32Bit = true; |