diff options
-rw-r--r-- | ymir.nix | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -296,6 +296,7 @@ in rec { | |||
296 | plugins = ["python3" "cgi"]; | 296 | plugins = ["python3" "cgi"]; |
297 | instance = { | 297 | instance = { |
298 | type = "emperor"; | 298 | type = "emperor"; |
299 | uid = "root"; gid = "root"; | ||
299 | vassals = { | 300 | vassals = { |
300 | "git.yggdrasil.li" = { | 301 | "git.yggdrasil.li" = { |
301 | type = "normal"; | 302 | type = "normal"; |
@@ -308,6 +309,8 @@ in rec { | |||
308 | ]; | 309 | ]; |
309 | socket = "/tmp/git.yggdrasil.li.sock"; | 310 | socket = "/tmp/git.yggdrasil.li.sock"; |
310 | chmod-socket = "660"; | 311 | chmod-socket = "660"; |
312 | chown-socket = "uwsgi:nginx"; | ||
313 | uid = "uwsgi"; gid = "uwsgi"; | ||
311 | }; | 314 | }; |
312 | "git.rheperire.org" = { | 315 | "git.rheperire.org" = { |
313 | type = "normal"; | 316 | type = "normal"; |
@@ -320,6 +323,8 @@ in rec { | |||
320 | ]; | 323 | ]; |
321 | socket = "/tmp/git.rheperire.org.sock"; | 324 | socket = "/tmp/git.rheperire.org.sock"; |
322 | chmod-socket = "660"; | 325 | chmod-socket = "660"; |
326 | chown-socket = "uwsgi:nginx"; | ||
327 | uid = "uwsgi"; gid = "uwsgi"; | ||
323 | }; | 328 | }; |
324 | }; | 329 | }; |
325 | }; | 330 | }; |