diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-24 11:33:08 +0100 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2016-01-24 11:33:08 +0100 |
commit | 7689ce8c7890eda81cae0a2aa2660c6c54c6ae96 (patch) | |
tree | fbb149d4184522669a7d12ac0352d66744bfa4d2 /custom | |
parent | cbf358b332b2b0909c8726432866aa02affd550b (diff) | |
download | nixos-7689ce8c7890eda81cae0a2aa2660c6c54c6ae96.tar nixos-7689ce8c7890eda81cae0a2aa2660c6c54c6ae96.tar.gz nixos-7689ce8c7890eda81cae0a2aa2660c6c54c6ae96.tar.bz2 nixos-7689ce8c7890eda81cae0a2aa2660c6c54c6ae96.tar.xz nixos-7689ce8c7890eda81cae0a2aa2660c6c54c6ae96.zip |
Favicons for everything
Diffstat (limited to 'custom')
-rw-r--r-- | custom/ymir-nginx.nix | 8 |
1 files changed, 8 insertions, 0 deletions
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 { | |||
75 | listen [::]:80; | 75 | listen [::]:80; |
76 | server_name dirty-haskell.org www.dirty-haskell.org; | 76 | server_name dirty-haskell.org www.dirty-haskell.org; |
77 | 77 | ||
78 | include ${favicon}; | ||
79 | |||
78 | root /srv/www/dirty-haskell.org; | 80 | root /srv/www/dirty-haskell.org; |
79 | } | 81 | } |
80 | 82 | ||
@@ -83,6 +85,8 @@ in { | |||
83 | listen [::]:443 ssl; | 85 | listen [::]:443 ssl; |
84 | server_name dirty-haskell.org; | 86 | server_name dirty-haskell.org; |
85 | 87 | ||
88 | include ${favicon}; | ||
89 | |||
86 | ssl_certificate /etc/nginx/ssl/dirty-haskell.org/fullchain.pem; | 90 | ssl_certificate /etc/nginx/ssl/dirty-haskell.org/fullchain.pem; |
87 | ssl_certificate_key /etc/nginx/ssl/dirty-haskell.org/privkey.pem; | 91 | ssl_certificate_key /etc/nginx/ssl/dirty-haskell.org/privkey.pem; |
88 | 92 | ||
@@ -94,6 +98,8 @@ in { | |||
94 | listen [::]:443 ssl; | 98 | listen [::]:443 ssl; |
95 | server_name www.dirty-haskell.org; | 99 | server_name www.dirty-haskell.org; |
96 | 100 | ||
101 | include ${favicon}; | ||
102 | |||
97 | ssl_certificate /etc/nginx/ssl/www.dirty-haskell.org/fullchain.pem; | 103 | ssl_certificate /etc/nginx/ssl/www.dirty-haskell.org/fullchain.pem; |
98 | ssl_certificate_key /etc/nginx/ssl/www.dirty-haskell.org/privkey.pem; | 104 | ssl_certificate_key /etc/nginx/ssl/www.dirty-haskell.org/privkey.pem; |
99 | 105 | ||
@@ -109,6 +115,8 @@ in { | |||
109 | 115 | ||
110 | try_files $uri @cgit; | 116 | try_files $uri @cgit; |
111 | 117 | ||
118 | include ${favicon}; | ||
119 | |||
112 | location @cgit { | 120 | location @cgit { |
113 | include ${uwsgi_params}; | 121 | include ${uwsgi_params}; |
114 | uwsgi_pass unix:/tmp/cgit.sock; | 122 | uwsgi_pass unix:/tmp/cgit.sock; |