From 1afc8841a9bccd8903ac01b9f3aef86de8a2e239 Mon Sep 17 00:00:00 2001 From: h7x4 Date: Thu, 7 Sep 2023 18:46:47 +0200 Subject: [PATCH] bekkalokk/nginx: remove commented virtualhost for mediawiki --- hosts/bekkalokk/services/nginx.nix | 26 -------------------------- 1 file changed, 26 deletions(-) diff --git a/hosts/bekkalokk/services/nginx.nix b/hosts/bekkalokk/services/nginx.nix index ff3138ab..183f49e6 100644 --- a/hosts/bekkalokk/services/nginx.nix +++ b/hosts/bekkalokk/services/nginx.nix @@ -12,32 +12,6 @@ recommendedProxySettings = true; recommendedOptimisation = true; recommendedGzipSettings = true; - - #virtualHosts = { - # "bekkalokk.pvv.ntnu.no" = { - # forceSSL = true; - # enableACME = true; - # root = "${config.services.mediawiki.finalPackage}/share/mediawiki"; - # locations = { - # "/" = { - # extraConfig = '' - # fastcgi_split_path_info ^(.+\.php)(/.+)$; - # fastcgi_index index.php; - # fastcgi_pass unix:${config.services.phpfpm.pools.mediawiki.socket}; - # include ${pkgs.nginx}/conf/fastcgi_params; - # include ${pkgs.nginx}/conf/fastcgi.conf; - # ''; - # }; -# -# "/images".root = config.services.mediawiki.uploadsDir; -# -# # "/git" = { -# # proxyPass = "http://unix:${config.services.gitea.settings.server.HTTP_ADDR}"; -# # proxyWebsockets = true; -# # }; -# }; -# }; -# }; }; networking.firewall.allowedTCPPorts = [ 80 443 ];