{ config, lib, pkgs, ... }: with lib; let domain = "yugoslavia.best"; root = "/var/www/${domain}"; in { config = { modules.services.staticSites.${domain} = { dataDir = root; php = true; forceSSL = false; }; services = { nginx.virtualHosts.${domain} = { locations."/" = { extraConfig = '' error_page 404 /error.php; ''; }; locations."= /brackets2.html" = { extraConfig = '' return 451; ''; }; locations."/modding-txts/" = { extraConfig = '' autoindex on; sub_filter ''; sub_filter
' '; sub_filter' '; sub_filter '' ''; sub_filter '' '
' '; sub_filter' '; sub_filter '' ''; sub_filter '' '