summaryrefslogtreecommitdiff
path: root/depo/nutin-madaj/web.nix
diff options
context:
space:
mode:
authorBen Sima <ben@bsima.me>2019-05-22 21:32:35 -0700
committerBen Sima <ben@bsima.me>2019-05-22 21:32:35 -0700
commitffa02913a1deae3cf849be509fb4f98783133c09 (patch)
treed4916180fb0b9da8c38293dfa20ad349a28960b3 /depo/nutin-madaj/web.nix
parentf2ed7e8eb50f39a173382d11f927e049b4a465e0 (diff)
switch to nginx only
Diffstat (limited to 'depo/nutin-madaj/web.nix')
-rw-r--r--depo/nutin-madaj/web.nix8
1 files changed, 5 insertions, 3 deletions
diff --git a/depo/nutin-madaj/web.nix b/depo/nutin-madaj/web.nix
index 8430c73..46231fc 100644
--- a/depo/nutin-madaj/web.nix
+++ b/depo/nutin-madaj/web.nix
@@ -12,9 +12,11 @@ in
recommendedProxySettings = true;
recommendedTlsSettings = true;
virtualHosts = {
- "bsima.me".locations."/".proxyPass = "http://localhost:8000/~ben";
- "simatime.com".locations."/".proxyPass = "http://localhost:8000";
- "web.simatime.com".locations."/".proxyPass = "http://${bensIp}:8000";
+ "bsima.me" = {
+ root = "/home/ben/public_html/";
+ locations."/".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