{ config, ... }: let domain = "books.sondell.org"; # derp = "hi"; in { # services.audiobookshelf = { enable = true; port = 8000; }; services.nginx.virtualHosts.${domain} = { enableACME = true; forceSSL = true; locations."/" = { proxyPass = "http://localhost:8000/"; proxyWebsockets = true; # extraConfig = '' # access_log /var/log/nginx/access.log main if=$forgejo_access_log; # ''; }; }; }