From d8d47efda9f4fd26217b7abf9d5f918eb9a0f8ed Mon Sep 17 00:00:00 2001 From: Ezri Zhu Date: Tue, 12 Nov 2024 18:05:52 -0500 Subject: [PATCH] stella web --- hosts/stella-web.nix | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/hosts/stella-web.nix b/hosts/stella-web.nix index afca98e..e465b58 100644 --- a/hosts/stella-web.nix +++ b/hosts/stella-web.nix @@ -20,6 +20,23 @@ enableACME = true; root = "/home/azriel/wolfgirl.systems/book"; }; + services.nginx.virtualHosts."lastfm.aubrey.pet" = { + forceSSL = true; + enableACME = true; + root = "/home/azriel/wolfgirl.systems/book"; + locations."/" = { + proxyPass = "http://127.0.0.1:5000"; + extraConfig = '' + proxy_http_version 1.1; + proxy_set_header Upgrade $http_upgrade; + proxy_set_header Connection "upgrade"; + proxy_set_header Host $host; + proxy_set_header X-Real-IP $remote_addr; + proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; + proxy_set_header X-Forwarded-Proto $scheme; + ''; + }; + }; services.nginx.virtualHosts."bun-e.fyi" = { forceSSL = true; enableACME = true;