From 45d7aaa82b0b8577e507cc8769998911bf8ce527 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 24 Jan 2016 11:30:55 +0100 Subject: praseodym.org nginx --- custom/ymir-nginx.nix | 14 ++++++++++++++ 1 file changed, 14 insertions(+) (limited to 'custom') diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index 861b0720..7aaa0464 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix @@ -16,6 +16,12 @@ let uwsgi_param SERVER_PORT $server_port; uwsgi_param SERVER_NAME $server_name; ''; + + favicon = builtins.toFile "favicon" '' + location /favicon.ico { + root /srv/www/praseodym.org; + } + ''; in { services.nginx = { enable = true; @@ -101,6 +107,14 @@ in { uwsgi_modifier1 9; } } + + server { + listen *:80; + listen [::]:80; + server_name _; + + root /srv/www/praseodym.org; + } ''; }; } -- cgit v1.2.3