From 7689ce8c7890eda81cae0a2aa2660c6c54c6ae96 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 24 Jan 2016 11:33:08 +0100 Subject: Favicons for everything --- custom/ymir-nginx.nix | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'custom/ymir-nginx.nix') diff --git a/custom/ymir-nginx.nix b/custom/ymir-nginx.nix index e3cc2870..4e13e019 100644 --- a/custom/ymir-nginx.nix +++ b/custom/ymir-nginx.nix @@ -75,6 +75,8 @@ in { listen [::]:80; server_name dirty-haskell.org www.dirty-haskell.org; + include ${favicon}; + root /srv/www/dirty-haskell.org; } @@ -83,6 +85,8 @@ in { listen [::]:443 ssl; server_name dirty-haskell.org; + include ${favicon}; + ssl_certificate /etc/nginx/ssl/dirty-haskell.org/fullchain.pem; ssl_certificate_key /etc/nginx/ssl/dirty-haskell.org/privkey.pem; @@ -94,6 +98,8 @@ in { listen [::]:443 ssl; server_name www.dirty-haskell.org; + include ${favicon}; + ssl_certificate /etc/nginx/ssl/www.dirty-haskell.org/fullchain.pem; ssl_certificate_key /etc/nginx/ssl/www.dirty-haskell.org/privkey.pem; @@ -109,6 +115,8 @@ in { try_files $uri @cgit; + include ${favicon}; + location @cgit { include ${uwsgi_params}; uwsgi_pass unix:/tmp/cgit.sock; -- cgit v1.2.3