summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2020-03-14 16:47:34 +0100
committerGregor Kleen <gkleen@yggdrasil.li>2020-03-14 16:47:34 +0100
commit28ee671a588a5b6188d0766239b0d4ea90330b52 (patch)
treeb8a7f74e6dbbaf0fee2ac1d40f1712c052f56208
parentcdbf1a3b876068a1551be8ecf4b3bc07e9a9cdb1 (diff)
downloadnixos-28ee671a588a5b6188d0766239b0d4ea90330b52.tar
nixos-28ee671a588a5b6188d0766239b0d4ea90330b52.tar.gz
nixos-28ee671a588a5b6188d0766239b0d4ea90330b52.tar.bz2
nixos-28ee671a588a5b6188d0766239b0d4ea90330b52.tar.xz
nixos-28ee671a588a5b6188d0766239b0d4ea90330b52.zip
...
-rw-r--r--odin.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/odin.nix b/odin.nix
index 1ae5d26c..c6d6de1d 100644
--- a/odin.nix
+++ b/odin.nix
@@ -479,12 +479,12 @@
479 ''; 479 '';
480 }; 480 };
481 481
482 # services.bar = { 482 services.bar = {
483 # enable = true; 483 enable = true;
484 # port = 8082; 484 port = 8082;
485 # approot = "/bar"; 485 approot = "/bar";
486 # ipFromHeader = true; 486 ipFromHeader = true;
487 # }; 487 };
488 488
489 services.nginx = { 489 services.nginx = {
490 enable = true; 490 enable = true;
@@ -501,7 +501,7 @@
501 sslCertificateKey = "/var/lib/ssl/self-signed-key.pem"; 501 sslCertificateKey = "/var/lib/ssl/self-signed-key.pem";
502 502
503 locations = { 503 locations = {
504 # "/bar".proxyPass = "http://bar/"; 504 "/bar".proxyPass = "http://bar/";
505 "/" = { 505 "/" = {
506 root = "/srv/media/"; 506 root = "/srv/media/";
507 extraConfig = '' 507 extraConfig = ''
@@ -525,9 +525,9 @@
525 }; 525 };
526 526
527 upstreams = { 527 upstreams = {
528 # "bar" = { 528 "bar" = {
529 # servers."localhost:${toString config.services.bar.port}"= {}; 529 servers."localhost:${toString config.services.bar.port}"= {};
530 # }; 530 };
531 "prometheus" = { 531 "prometheus" = {
532 servers."${config.services.prometheus2.listenAddress}" = {}; 532 servers."${config.services.prometheus2.listenAddress}" = {};
533 }; 533 };