diff options
author | lassulus <git@lassul.us> | 2023-09-03 12:00:44 +0200 |
---|---|---|
committer | lassulus <git@lassul.us> | 2023-09-03 12:00:44 +0200 |
commit | d0422e3b64403cdcc2acd68e432a3671a6f6a502 (patch) | |
tree | 54a4e1cdb08df29d4624521720c8b318b48bb0fd | |
parent | 45c3e165c96efa0148ddedffd50f508d7dae6093 (diff) |
l websites: add flix.lassul.us
-rw-r--r-- | lass/2configs/websites/default.nix | 2 | ||||
-rw-r--r-- | lass/2configs/websites/flix.lassul.us.nix | 13 |
2 files changed, 13 insertions, 2 deletions
diff --git a/lass/2configs/websites/default.nix b/lass/2configs/websites/default.nix index ebf4d8345..f74845a56 100644 --- a/lass/2configs/websites/default.nix +++ b/lass/2configs/websites/default.nix @@ -1,7 +1,5 @@ { config, lib, ... }: -with import <stockholm/lib>; - { services.nginx = { enable = true; diff --git a/lass/2configs/websites/flix.lassul.us.nix b/lass/2configs/websites/flix.lassul.us.nix new file mode 100644 index 000000000..27a7f75e8 --- /dev/null +++ b/lass/2configs/websites/flix.lassul.us.nix @@ -0,0 +1,13 @@ +{ config, pkgs, ... }: +{ + services.nginx.virtualHosts."flix.lassul.us" = { + forceSSL = true; + enableACME = true; + locations."/" = { + proxyPass = "http://yellow.r:8096"; + proxyWebsockets = true; + recommendedProxySettings = true; + }; + }; +} + |