summaryrefslogtreecommitdiffstats
path: root/lass/2configs
diff options
context:
space:
mode:
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;
+ };
+ };
+}
+