move refinery to 'common'

This commit is contained in:
Joeri Exelmans 2025-10-02 15:11:29 +02:00
parent e47a058e59
commit e96f9607be
3 changed files with 6 additions and 6 deletions

View file

@ -13,6 +13,10 @@
locations."${refineryBaseUrl}/" = { locations."${refineryBaseUrl}/" = {
proxyPass = "http://127.0.0.1:8888/"; proxyPass = "http://127.0.0.1:8888/";
proxyWebsockets = true; proxyWebsockets = true;
extraConfig = ''
charset UTF-8;
more_set_headers 'Server: NIXOS';
'';
}; };
locations."${refineryBaseUrl}/api/" = { locations."${refineryBaseUrl}/api/" = {

View file

@ -30,7 +30,7 @@
}; };
modules = [ modules = [
./deemz.org/configuration.nix ./deemz.org/configuration.nix
./deemz.org/refinery.nix ./common/refinery.nix
]; ];
}; };
msdl = nixpkgs-stable.lib.nixosSystem { msdl = nixpkgs-stable.lib.nixosSystem {
@ -41,7 +41,7 @@
}; };
modules = [ modules = [
./msdl/configuration.nix ./msdl/configuration.nix
./deemz.org/refinery.nix ./common/refinery.nix
]; ];
}; };
}; };

View file

@ -83,10 +83,6 @@
recommendedProxySettings = true; recommendedProxySettings = true;
recommendedTlsSettings = true; recommendedTlsSettings = true;
forceSSL = true; forceSSL = true;
extraConfig = ''
charset UTF-8;
more_set_headers 'Server: NIXOS';
'';
}; };
# Copy the NixOS configuration file and link it from the resulting system # Copy the NixOS configuration file and link it from the resulting system