1
1
Fork 0

Compare commits

..

No commits in common. "ac18512e254f89548e9631ac3f862d24ce089bae" and "08c0e42639d2d302f02b90a2cef3f9e253af34fd" have entirely different histories.

2 changed files with 3 additions and 11 deletions

View File

@ -83,14 +83,6 @@
"www.ktvb.site" = static-site "www.ktvb.site";
"mirror.alogoulogoi.com" = static-site "mirror.alogoulogoi.com";
"www.alogoulogoi.com" = static-site "www";
newtab = {
listen = [ { addr = "10.22.20.1"; port = 80; } ];
root = "/srv/newtab/";
extraConfig = ''
access_log /var/log/nginx/access_newtab.log;
index index.html;
'';
};
# Deny all other subdomains
"alogoulogoi.com" = {
default = true;

View File

@ -5,8 +5,8 @@ let
inquisitorSource = pkgs.fetchFromGitHub {
owner = "Jaculabilis";
repo = "Inquisitor";
rev = "addcb4f1a56c878b58f2e1c38dfd485761b31306";
sha256 = "0jjl92nf1y40acdly1kls0mppcadvmgbfr6qwczxni1f1zphw3as";
rev = "dd3a8016d3148681886c9a2bba465d5eab85a0ac";
sha256 = "0p9yyl2b043vnla4i3pa07i394jlwiw6aj9p7s7njavdqbja639d";
};
inquisitor = pkgs.callPackage inquisitorSource { inherit pkgs; };
@ -116,7 +116,7 @@ in
# Set up nginx to reverse proxy from the beatific url to the inq server
services.nginx.enable = true;
services.nginx.virtualHosts.inquisitorHost = {
listen = [ { addr = "10.22.20.1"; port = 80; } ];
listen = [ { addr = "10.7.3.1"; port = 80; } ];
locations."/".extraConfig = ''
access_log /var/log/nginx/access.inquisitor.log;
proxy_buffering off;