diff options
author | Ben Sima <ben@bsima.me> | 2019-05-12 22:35:25 -0700 |
---|---|---|
committer | Ben Sima <ben@bsima.me> | 2019-05-12 22:35:25 -0700 |
commit | 45f72cbf8ac58a8dd528c656482356c0933ed61f (patch) | |
tree | c4f172d6d2996e7159e8e7021abb4a83819bed3d /depo/nutin-madaj/configuration.nix | |
parent | 4a18b8387acbcefd30bbcbab474f0ebc1d0ff38d (diff) |
need to proxyPass through nginx
Diffstat (limited to 'depo/nutin-madaj/configuration.nix')
-rw-r--r-- | depo/nutin-madaj/configuration.nix | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/depo/nutin-madaj/configuration.nix b/depo/nutin-madaj/configuration.nix index e676f96..446a5f5 100644 --- a/depo/nutin-madaj/configuration.nix +++ b/depo/nutin-madaj/configuration.nix @@ -31,7 +31,7 @@ in }; lighttpd = { enable = true; - port = 80; + port = 8000; document-root = "/srv/www"; mod_userdir = true; mod_status = true; @@ -91,6 +91,8 @@ 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"; "dev.simatime.com".locations."/".proxyPass = "http://${bensIp}:${ibbPort}"; "hero.simatime.com".locations."/".proxyPass = "http://${bensIp}:3001"; |