add onion service for idimitrov.dev
This commit is contained in:
parent
14a03c1c82
commit
b4004bbe31
@ -1,4 +1,4 @@
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
imports = [ ./configuration.nix ./mailserver ./roundcube ./postgres ./wireguard ./nginx ./webshite ];
|
||||
imports = [ ./configuration.nix ./mailserver ./roundcube ./postgres ./wireguard ./nginx ./webshite ./tor ];
|
||||
}
|
||||
|
16
mailserver/tor/default.nix
Normal file
16
mailserver/tor/default.nix
Normal file
@ -0,0 +1,16 @@
|
||||
{
|
||||
services.tor = {
|
||||
enable = true;
|
||||
relay.onionServices = {
|
||||
idimitrov = {
|
||||
map = [{
|
||||
port = 80;
|
||||
target = {
|
||||
addr = "127.0.0.1";
|
||||
port = 3000;
|
||||
};
|
||||
}];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Reference in New Issue
Block a user