summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
authorlassulus <git@lassul.us>2023-09-03 12:00:44 +0200
committerlassulus <git@lassul.us>2023-09-03 12:00:44 +0200
commitd0422e3b64403cdcc2acd68e432a3671a6f6a502 (patch)
tree54a4e1cdb08df29d4624521720c8b318b48bb0fd /lass/2configs
parent45c3e165c96efa0148ddedffd50f508d7dae6093 (diff)
l websites: add flix.lassul.us
Diffstat (limited to 'lass/2configs')
-rw-r--r--lass/2configs/websites/default.nix2
-rw-r--r--lass/2configs/websites/flix.lassul.us.nix13
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;
+ };
+ };
+}
+