summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--odin.nix20
1 files changed, 10 insertions, 10 deletions
diff --git a/odin.nix b/odin.nix
index c6d6de1d..1ae5d26c 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 };