diff options
-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; |