summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-05-22 21:46:44 -0700
committerBen Sima <ben@bsima.me>2019-05-22 21:46:44 -0700
commitc2e4b0ef17d0006aff5c9809dcdfa3ac8b80f8a8 (patch)
tree949bd126aea9cc4a4254c5ed7215a016a745b19f
parentffa02913a1deae3cf849be509fb4f98783133c09 (diff)
cleanup my site
-rw-r--r--depo/nutin-madaj/web.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/depo/nutin-madaj/web.nix b/depo/nutin-madaj/web.nix
index 46231fc..b77f4eb 100644
--- a/depo/nutin-madaj/web.nix
+++ b/depo/nutin-madaj/web.nix
@@ -1,7 +1,7 @@
{ ... }:
let
- bensIp = "68.107.97.20"; # hiddor-kahih
+ bensIp = "68.107.97.20"; # hidor-kahih
in
{
services = {
@@ -12,10 +12,8 @@ in
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts = {
- "bsima.me" = {
- root = "/home/ben/public_html/";
- locations."/".root = "/home/ben/public_html/";
- };
+ "bsima.me".root = "/home/ben/public_html/";
+ "www.bsima.me".root = "/home/ben/public_html/";
"simatime.com".locations."/".root = "/srv/www/";
"hero.simatime.com".locations."/".proxyPass = "http://${bensIp}:3001";
"tv.simatime.com".locations."/".proxyPass = "http://${bensIp}:8096"; # emby runs on port 8096