diff options
author | tv <tv@krebsco.de> | 2016-04-08 03:53:34 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-04-08 03:53:34 +0200 |
commit | 46e818ebbc5446b4215ad9524089d9b2dc91cbd3 (patch) | |
tree | 13d7021f55991559d17f3eb51e7ffb8957d093e5 /makefu/2configs/nginx/euer.blog.nix | |
parent | 827f1790803bda906ed71c56138cfdbf108ee730 (diff) |
retiolum: don't hardcode routing prefixes
Diffstat (limited to 'makefu/2configs/nginx/euer.blog.nix')
-rw-r--r-- | makefu/2configs/nginx/euer.blog.nix | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/makefu/2configs/nginx/euer.blog.nix b/makefu/2configs/nginx/euer.blog.nix index 9d08f4b9a..137c0b0e3 100644 --- a/makefu/2configs/nginx/euer.blog.nix +++ b/makefu/2configs/nginx/euer.blog.nix @@ -8,8 +8,8 @@ let hostname = config.krebs.build.host.name; user = config.services.nginx.user; group = config.services.nginx.group; - external-ip = head config.krebs.build.host.nets.internet.addrs4; - internal-ip = head config.krebs.build.host.nets.retiolum.addrs4; + external-ip = config.krebs.build.host.nets.internet.ip4.addr; + internal-ip = config.krebs.build.host.nets.retiolum.ip4.addr; base-dir = "/var/www/blog.euer"; in { # Prepare Blog directory |