summaryrefslogtreecommitdiff
path: root/odin.nix
diff options
context:
space:
mode:
authorGregor Kleen <gkleen@yggdrasil.li>2019-05-06 23:37:23 +0200
committerGregor Kleen <gkleen@yggdrasil.li>2019-05-06 23:37:23 +0200
commit2f013bc7138cbb5b9f3a5eeb3f9914f3a67bfa38 (patch)
tree965f73b26e55a06970010ba0ef013d8968fbb0dd /odin.nix
parent79f1d2cc684b43fef04c14ca0f8c583c072c615c (diff)
downloadnixos-2f013bc7138cbb5b9f3a5eeb3f9914f3a67bfa38.tar
nixos-2f013bc7138cbb5b9f3a5eeb3f9914f3a67bfa38.tar.gz
nixos-2f013bc7138cbb5b9f3a5eeb3f9914f3a67bfa38.tar.bz2
nixos-2f013bc7138cbb5b9f3a5eeb3f9914f3a67bfa38.tar.xz
nixos-2f013bc7138cbb5b9f3a5eeb3f9914f3a67bfa38.zip
...
Diffstat (limited to 'odin.nix')
-rw-r--r--odin.nix6
1 files changed, 3 insertions, 3 deletions
diff --git a/odin.nix b/odin.nix
index 80ed32dc..af1f72cb 100644
--- a/odin.nix
+++ b/odin.nix
@@ -491,13 +491,13 @@
491 serverAliases = [ "odin" "10.141.1.2" ]; 491 serverAliases = [ "odin" "10.141.1.2" ];
492 forceSSL = true; 492 forceSSL = true;
493 493
494 sslCertificate = /var/lib/ssl/self-signed-cert.pem; 494 sslCertificate = "/var/lib/ssl/self-signed-cert.pem";
495 sslCertificateKey = /var/lib/ssl/self-signed-key.pem; 495 sslCertificateKey = "/var/lib/ssl/self-signed-key.pem";
496 496
497 locations = { 497 locations = {
498 # "/bar".proxyPass = "http://bar/"; 498 # "/bar".proxyPass = "http://bar/";
499 "/" = { 499 "/" = {
500 root = /srv/media; 500 root = "/srv/media";
501 extraConfig = '' 501 extraConfig = ''
502 autoindex on; 502 autoindex on;
503 autoindex_localtime on; 503 autoindex_localtime on;