summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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