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;