refactor(reverse-proxy): move module under services
This commit was merged in pull request #71.
This commit is contained in:
@@ -12,7 +12,7 @@ in
|
|||||||
(my.guest {
|
(my.guest {
|
||||||
name = "reverse-proxy";
|
name = "reverse-proxy";
|
||||||
interior = {
|
interior = {
|
||||||
modules.reverse-proxy.enable = true;
|
modules.services.reverse-proxy.enable = true;
|
||||||
|
|
||||||
services.nginx.virtualHosts = {
|
services.nginx.virtualHosts = {
|
||||||
"games.alexion.dev" = {
|
"games.alexion.dev" = {
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
let
|
let
|
||||||
cfg = config.modules.reverse-proxy;
|
cfg = config.modules.services.reverse-proxy;
|
||||||
|
|
||||||
mkRegistryPath = registryName: host: entry: "registry.${registryName}.${host}.${entry}";
|
mkRegistryPath = registryName: host: entry: "registry.${registryName}.${host}.${entry}";
|
||||||
|
|
||||||
@@ -61,7 +61,7 @@ let
|
|||||||
lib.listToAttrs generatedVirtualHostList;
|
lib.listToAttrs generatedVirtualHostList;
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
options.modules.reverse-proxy = {
|
options.modules.services.reverse-proxy = {
|
||||||
enable = lib.mkEnableOption "the public edge reverse proxy";
|
enable = lib.mkEnableOption "the public edge reverse proxy";
|
||||||
};
|
};
|
||||||
|
|
||||||
Reference in New Issue
Block a user