diff options
author | Gregor Kleen <gkleen@yggdrasil.li> | 2017-06-19 22:51:06 +0200 |
---|---|---|
committer | Gregor Kleen <gkleen@yggdrasil.li> | 2017-06-19 22:51:06 +0200 |
commit | 773979c00eac12535acd2110d6ecbc7b3c14f113 (patch) | |
tree | d06f18386098e68d5821ba592adb04f02e6ba45a | |
parent | 58820658c4fec6128789ac55ef9f6071464d95a9 (diff) | |
download | nixos-773979c00eac12535acd2110d6ecbc7b3c14f113.tar nixos-773979c00eac12535acd2110d6ecbc7b3c14f113.tar.gz nixos-773979c00eac12535acd2110d6ecbc7b3c14f113.tar.bz2 nixos-773979c00eac12535acd2110d6ecbc7b3c14f113.tar.xz nixos-773979c00eac12535acd2110d6ecbc7b3c14f113.zip |
uwsgi module handles env
-rw-r--r-- | ymir.nix | 8 |
1 files changed, 6 insertions, 2 deletions
@@ -303,7 +303,9 @@ in rec { | |||
303 | threads = 8; | 303 | threads = 8; |
304 | chdir = "${pkgs.cgit}/cgit"; | 304 | chdir = "${pkgs.cgit}/cgit"; |
305 | cgi = "${pkgs.cgit}/cgit/cgit.cgi"; | 305 | cgi = "${pkgs.cgit}/cgit/cgit.cgi"; |
306 | env = "CGIT_CONFIG=/etc/cgit/git.yggdrasil.li"; | 306 | env = { |
307 | "CGIT_CONFIG" = "/etc/cgit/git.yggdrasil.li"; | ||
308 | }; | ||
307 | socket = "/tmp/git.yggdrasil.li.sock"; | 309 | socket = "/tmp/git.yggdrasil.li.sock"; |
308 | chmod-socket = "660"; | 310 | chmod-socket = "660"; |
309 | chown-socket = "uwsgi:nginx"; | 311 | chown-socket = "uwsgi:nginx"; |
@@ -314,7 +316,9 @@ in rec { | |||
314 | threads = 8; | 316 | threads = 8; |
315 | chdir = "${pkgs.cgit}/cgit"; | 317 | chdir = "${pkgs.cgit}/cgit"; |
316 | cgi = "${pkgs.cgit}/cgit/cgit.cgi"; | 318 | cgi = "${pkgs.cgit}/cgit/cgit.cgi"; |
317 | env = "CGIT_CONFIG=/etc/cgit/git.rheperire.org"; | 319 | env = { |
320 | "CGIT_CONFIG" = "/etc/cgit/git.rheperire.org"; | ||
321 | }; | ||
318 | socket = "/tmp/git.rheperire.org.sock"; | 322 | socket = "/tmp/git.rheperire.org.sock"; |
319 | chmod-socket = "660"; | 323 | chmod-socket = "660"; |
320 | chown-socket = "uwsgi:nginx"; | 324 | chown-socket = "uwsgi:nginx"; |